[Fusionforge-commits] r11869 - branches/Branch_5_1/src/common/tracker

Roland Mas lolando at libremir.placard.fr.eu.org
Tue Dec 21 16:54:37 CET 2010


Author: lolando
Date: 2010-12-21 16:54:36 +0100 (Tue, 21 Dec 2010)
New Revision: 11869

Modified:
   branches/Branch_5_1/src/common/tracker/ArtifactQuery.class.php
Log:
Fixed variable name

Modified: branches/Branch_5_1/src/common/tracker/ArtifactQuery.class.php
===================================================================
--- branches/Branch_5_1/src/common/tracker/ArtifactQuery.class.php	2010-12-21 09:54:16 UTC (rev 11868)
+++ branches/Branch_5_1/src/common/tracker/ArtifactQuery.class.php	2010-12-21 15:54:36 UTC (rev 11869)
@@ -269,12 +269,12 @@
 			$assignee = intval($assignee);
 		}	
 		
-		if (preg_match("/[^[:alnum:]_]/", $string)) {
+		if (preg_match("/[^[:alnum:]_]/", $sort_col)) {
 			$this->setError('ArtifactQuery: not valid sort_col');
 			return false;
 		}
 		
-		if (preg_match("/[^[:alnum:]_]/", $string)) {
+		if (preg_match("/[^[:alnum:]_]/", $sort_ord)) {
 			$this->setError('ArtifactQuery: not valid sort_ord');
 			return false;
 		}




More information about the Fusionforge-commits mailing list