[geeklog-cvs] geeklog-1.3/public_html pollbooth.php,1.26,1.27

dhaun at iowaoutdoors.org dhaun at iowaoutdoors.org
Wed Aug 11 09:04:29 EDT 2004


Update of /var/cvs/geeklog-1.3/public_html
In directory www:/tmp/cvs-serv27862

Modified Files:
	pollbooth.php 
Log Message:
Sort list of older polls by date (newest first)


Index: pollbooth.php
===================================================================
RCS file: /var/cvs/geeklog-1.3/public_html/pollbooth.php,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -d -r1.26 -r1.27
*** pollbooth.php	9 Aug 2004 18:36:29 -0000	1.26
--- pollbooth.php	11 Aug 2004 13:04:25 -0000	1.27
***************
*** 104,108 ****
      } else {
          $sql = "SELECT qid,question,voters FROM {$_TABLES['pollquestions']}"
!              . COM_getPermSQL ();
          $result = DB_query($sql);
          $nrows = DB_numRows($result);
--- 104,108 ----
      } else {
          $sql = "SELECT qid,question,voters FROM {$_TABLES['pollquestions']}"
!              . COM_getPermSQL () . ' ORDER BY date DESC';
          $result = DB_query($sql);
          $nrows = DB_numRows($result);




More information about the geeklog-cvs mailing list