[geeklog-cvs] Geeklog-1.x/public_html/polls index.php,1.26,1.27

Dirk Haun dhaun at qs1489.pair.com
Tue May 13 15:42:19 EDT 2008


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

Modified Files:
	index.php 
Log Message:
A few more places where the 'open' column had to be renamed to 'is_open'


Index: index.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/polls/index.php,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -d -r1.26 -r1.27
*** index.php	19 Jan 2008 14:53:12 -0000	1.26
--- index.php	13 May 2008 19:42:17 -0000	1.27
***************
*** 73,77 ****
                          array('text' => $LANG25[20], 'field' => 'voters', 'sort' => true),
                          array('text' => $LANG25[3], 'field' => 'unixdate', 'sort' => true),
!                         array('text' => $LANG_POLLS['open_poll'], 'field' => 'open', 'sort' => true)
          );
  
--- 73,77 ----
                          array('text' => $LANG25[20], 'field' => 'voters', 'sort' => true),
                          array('text' => $LANG25[3], 'field' => 'unixdate', 'sort' => true),
!                         array('text' => $LANG_POLLS['open_poll'], 'field' => 'is_open', 'sort' => true)
          );
  
***************
*** 159,163 ****
              . COM_endBlock (COM_getBlockTemplate ('_msg_block', 'footer'));
      }
!     if (DB_getItem($_TABLES['polltopics'], 'open', "pid = '$pid'") != 1) {
          $aid = -1; // poll closed - show result
      }
--- 159,163 ----
              . COM_endBlock (COM_getBlockTemplate ('_msg_block', 'footer'));
      }
!     if (DB_getItem($_TABLES['polltopics'], 'is_open', "pid = '$pid'") != 1) {
          $aid = -1; // poll closed - show result
      }




More information about the geeklog-cvs mailing list