[Fusionforge-commits] r11294 - branches/Branch_5_0/gforge/common/search

Roland Mas lolando at libremir.placard.fr.eu.org
Tue Nov 2 11:40:22 CET 2010


Author: lolando
Date: 2010-11-02 11:40:22 +0100 (Tue, 02 Nov 2010)
New Revision: 11294

Modified:
   branches/Branch_5_0/gforge/common/search/SearchQuery.class.php
Log:
Added missing spaces to fix SQL queries [#208]

Modified: branches/Branch_5_0/gforge/common/search/SearchQuery.class.php
===================================================================
--- branches/Branch_5_0/gforge/common/search/SearchQuery.class.php	2010-11-02 10:26:09 UTC (rev 11293)
+++ branches/Branch_5_0/gforge/common/search/SearchQuery.class.php	2010-11-02 10:40:22 UTC (rev 11294)
@@ -240,9 +240,9 @@
 	 */
 	function getOperator() {
 		if($this->isExact) {
-			return 'AND';
+			return ' AND ';
 		} else {
-			return 'OR';
+			return ' OR ';
 		}
 	}
 	




More information about the Fusionforge-commits mailing list