cvs: php-bugs-web /include functions.inc

From: Date: Sat, 28 Jun 2003 09:08:52 +0000
Subject: cvs: php-bugs-web /include functions.inc
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-18999@lists.php.net to get a copy of this message
philip Sat Jun 28 05:08:52 2003 EDT Modified files: /php-bugs-web/include functions.inc Log: Not be ambiguous with email (as both bugdb and bugdb_comments contain this column name) Index: php-bugs-web/include/functions.inc diff -u php-bugs-web/include/functions.inc:1.76 php-bugs-web/include/functions.inc:1.77 --- php-bugs-web/include/functions.inc:1.76 Fri Jun 27 22:38:29 2003 +++ php-bugs-web/include/functions.inc Sat Jun 28 05:08:52 2003 @@ -552,15 +552,15 @@ foreach ($used as $word) { $newsearch .= "+$word "; } - return array(" AND MATCH (email,sdesc,ldesc) AGAINST ('" . addslashes($newsearch) . "' IN BOOLEAN MODE)", $ignored); + return array(" AND MATCH (bugdb.email,sdesc,ldesc) AGAINST ('" . addslashes($newsearch) . "' IN BOOLEAN MODE)", $ignored); // allow custom boolean search (raw) } elseif (BOOLEAN_SEARCH === 2) { - return array(" AND MATCH (email,sdesc,ldesc) AGAINST ('" . addslashes($search) . "' IN BOOLEAN MODE)", $ignored); + return array(" AND MATCH (bugdb.email,sdesc,ldesc) AGAINST ('" . addslashes($search) . "' IN BOOLEAN MODE)", $ignored); } } // require any of the words (any) - return array(" AND MATCH (email,sdesc,ldesc) AGAINST ('" . addslashes($search) . "')", $ignored); + return array(" AND MATCH (bugdb.email,sdesc,ldesc) AGAINST ('" . addslashes($search) . "')", $ignored); } ?>

« previous php.mirrors (#18999) next »