[Fusionforge-commits] r9447 - trunk/gforge/common/tracker

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Sat Apr 10 20:20:41 CEST 2010


Author: aljeux
Date: 2010-04-10 20:20:41 +0200 (Sat, 10 Apr 2010)
New Revision: 9447

Modified:
   trunk/gforge/common/tracker/ArtifactType.class.php
Log:
Fix syntax error when custom status in used in trackers

Modified: trunk/gforge/common/tracker/ArtifactType.class.php
===================================================================
--- trunk/gforge/common/tracker/ArtifactType.class.php	2010-04-10 18:20:33 UTC (rev 9446)
+++ trunk/gforge/common/tracker/ArtifactType.class.php	2010-04-10 18:20:41 UTC (rev 9447)
@@ -514,7 +514,7 @@
 				$status_id=db_result($res,0,'status_id');
 			} else {
 				// custom status was not passed... use the first status from the database
-				$res = db_query_prams ('SELECT status_id FROM artifact_extra_field_elements WHERE extra_field_id=$1 ORDER BY element_id ASC LIMIT 1 OFFSET 0',
+				$res = db_query_params ('SELECT status_id FROM artifact_extra_field_elements WHERE extra_field_id=$1 ORDER BY element_id ASC LIMIT 1 OFFSET 0',
 						       array ($csfield)) ;
 				if (db_numrows($res) == 0) {		// No values available
 					$this->setError('Error Remapping Status');




More information about the Fusionforge-commits mailing list