[geeklog-cvs] Geeklog-1.x/plugins/polls functions.inc,1.87,1.88

Dirk Haun dhaun at qs1489.pair.com
Sat May 17 16:34:54 EDT 2008


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

Modified Files:
	functions.inc 
Log Message:
Fixed counter for question with only one answer ...


Index: functions.inc
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/plugins/polls/functions.inc,v
retrieving revision 1.87
retrieving revision 1.88
diff -C2 -d -r1.87 -r1.88
*** functions.inc	13 May 2008 18:53:22 -0000	1.87
--- functions.inc	17 May 2008 20:34:52 -0000	1.88
***************
*** 820,827 ****
              }
  
!             for ($j=0; $j<$nquestions; $j++) {
                  $Q = DB_fetchArray($questions);
  
!                 if ($nquestions > 1) {
                      $counter = ($j + 1) . "/$nquestions: " ;
                  }
--- 820,827 ----
              }
  
!             for ($j = 0; $j < $nquestions; $j++) {
                  $Q = DB_fetchArray($questions);
  
!                 if ($nquestions >= 1) {
                      $counter = ($j + 1) . "/$nquestions: " ;
                  }




More information about the geeklog-cvs mailing list