[geeklog-cvs] geeklog-1.3/system/classes search.class.php,1.30,1.31

dhaun at iowaoutdoors.org dhaun at iowaoutdoors.org
Mon Jan 24 05:35:58 EST 2005


Update of /var/cvs/geeklog-1.3/system/classes
In directory www:/tmp/cvs-serv15163

Modified Files:
	search.class.php 
Log Message:
Fixed an SQL error when searching by author


Index: search.class.php
===================================================================
RCS file: /var/cvs/geeklog-1.3/system/classes/search.class.php,v
retrieving revision 1.30
retrieving revision 1.31
diff -C2 -d -r1.30 -r1.31
*** search.class.php	5 Jan 2005 13:01:25 -0000	1.30
--- search.class.php	24 Jan 2005 10:35:55 -0000	1.31
***************
*** 249,253 ****
              }
              if (!empty($this->_author) && ($this->_author > 0)) {
!                 $sql .= "AND (uid = '$this->_author') ";
              }
              $permsql = COM_getPermSQL ('AND') . COM_getTopicSQL ('AND');
--- 249,253 ----
              }
              if (!empty($this->_author) && ($this->_author > 0)) {
!                 $sql .= "AND (s.uid = '$this->_author') ";
              }
              $permsql = COM_getPermSQL ('AND') . COM_getTopicSQL ('AND');




More information about the geeklog-cvs mailing list