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

Thorsten Glaser mirabilos at fusionforge.org
Wed Mar 14 19:32:18 CET 2012


Author: mirabilos
Date: 2012-03-14 19:32:18 +0100 (Wed, 14 Mar 2012)
New Revision: 15124

Modified:
   branches/Branch_5_1/src/common/tracker/ArtifactFactory.class.php
Log:
possibly fix DB error when querying for followups

https://evolvis.org/tracker/t_follow.php/2638


Modified: branches/Branch_5_1/src/common/tracker/ArtifactFactory.class.php
===================================================================
--- branches/Branch_5_1/src/common/tracker/ArtifactFactory.class.php	2012-03-14 18:23:40 UTC (rev 15123)
+++ branches/Branch_5_1/src/common/tracker/ArtifactFactory.class.php	2012-03-14 18:32:18 UTC (rev 15124)
@@ -407,8 +407,8 @@
 		}
 		//add constraint on the followups string.
 		if ($this->followups) {
-			$wheresql .= ' LEFT OUTER JOIN artifact_message am USING (artifact_id)
-						WHERE am.body LIKE $'.$paramcount++;
+			$selectsql .= ' LEFT OUTER JOIN artifact_message am USING (artifact_id)';
+			$wheresql .= ' AND am.body LIKE $'.$paramcount++;
 			$params[] = $this->followups;
 		}
 




More information about the Fusionforge-commits mailing list