[geeklog-cvs] geeklog-1.3/public_html lib-common.php,1.223,1.224

geeklog-cvs-admin at lists.geeklog.net geeklog-cvs-admin at lists.geeklog.net
Fri May 30 12:36:23 EDT 2003


Update of /usr/cvs/geeklog/geeklog-1.3/public_html
In directory internal.geeklog.net:/tmp/cvs-serv16300

Modified Files:
	lib-common.php 
Log Message:
Order polls by date (newest first) when we have more than one poll block.


Index: lib-common.php
===================================================================
RCS file: /usr/cvs/geeklog/geeklog-1.3/public_html/lib-common.php,v
retrieving revision 1.223
retrieving revision 1.224
diff -C2 -d -r1.223 -r1.224
*** lib-common.php	19 May 2003 08:47:12 -0000	1.223
--- lib-common.php	30 May 2003 16:36:21 -0000	1.224
***************
*** 1723,1727 ****
      else
      {
!         $result = DB_query( "SELECT qid from {$_TABLES['pollquestions']} WHERE display = 1" );
          $nrows = DB_numRows( $result );
  
--- 1723,1727 ----
      else
      {
!         $result = DB_query( "SELECT qid from {$_TABLES['pollquestions']} WHERE display = 1 ORDER BY date DESC" );
          $nrows = DB_numRows( $result );
  





More information about the geeklog-cvs mailing list