[geeklog-cvs] Geeklog-1.x/plugins/polls functions.inc,1.75,1.76

Dirk Haun dhaun at qs1489.pair.com
Sat May 26 12:54:13 EDT 2007


Update of /cvsroot/geeklog/Geeklog-1.x/plugins/polls
In directory qs1489.pair.com:/tmp/cvs-serv96463/plugins/polls

Modified Files:
	functions.inc 
Log Message:
Check for undefined index


Index: functions.inc
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/plugins/polls/functions.inc,v
retrieving revision 1.75
retrieving revision 1.76
diff -C2 -d -r1.75 -r1.76
*** functions.inc	30 Apr 2007 18:05:14 -0000	1.75
--- functions.inc	26 May 2007 16:54:11 -0000	1.76
***************
*** 487,491 ****
  
                  if (($P['open'] == 0) || (
!                         ($P['hideresults'] == 1) && ($_USER['uid'] == $P['owner_id'])
                      ) || (
                          ($P['hideresults'] == 1) && (SEC_inGroup('Root'))
--- 487,491 ----
  
                  if (($P['open'] == 0) || (
!                         ($P['hideresults'] == 1) && (isset($_USER['uid']) && $_USER['uid'] == $P['owner_id'])
                      ) || (
                          ($P['hideresults'] == 1) && (SEC_inGroup('Root'))




More information about the geeklog-cvs mailing list