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

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Mon Feb 8 21:10:55 CET 2010


Author: aljeux
Date: 2010-02-08 21:10:54 +0100 (Mon, 08 Feb 2010)
New Revision: 8753

Modified:
   trunk/gforge/common/tracker/ArtifactTypes.class.php
Log:
Tracker: Fix bad default value for resolution field: Won\'t Fix => Won't Fix

Modified: trunk/gforge/common/tracker/ArtifactTypes.class.php
===================================================================
--- trunk/gforge/common/tracker/ArtifactTypes.class.php	2010-02-08 19:50:09 UTC (rev 8752)
+++ trunk/gforge/common/tracker/ArtifactTypes.class.php	2010-02-08 20:10:54 UTC (rev 8753)
@@ -91,7 +91,7 @@
 			//
 			//	Create a tracker
 			//
-			if (!$at->create(addslashes($trk[0]), addslashes($trk[1]), $trk[2], $trk[3], $trk[4], $trk[5], $trk[6], $trk[7], $trk[8], $trk[9], $trk[10])) {
+			if (!$at->create($trk[0], $trk[1], $trk[2], $trk[3], $trk[4], $trk[5], $trk[6], $trk[7], $trk[8], $trk[9], $trk[10])) {
 				db_rollback();
 				$this->setError('Error Creating Tracker: '.$at->getErrorMessage());
 				return false;
@@ -102,7 +102,7 @@
 				foreach ($trk[11] AS $fld) {
 					$aef = new ArtifactExtraField($at);
 //print($fld[0])."***|";
-					if (!$aef->create(addslashes($fld[0]), $fld[1], $fld[2], $fld[3], $fld[4])) {
+					if (!$aef->create($fld[0], $fld[1], $fld[2], $fld[3], $fld[4])) {
 						db_rollback();
 						$this->setError('Error Creating Extra Field: '.$aef->getErrorMessage());
 						return false;
@@ -126,7 +126,7 @@
 								$el_name = $el[0];
 								$el_status = $el[1];
 							}
-							if (!$aefe->create(addslashes($el_name),$el_status)) {
+							if (!$aefe->create($el_name,$el_status)) {
 								db_rollback();
 								$this->setError('Error Creating Extra Field Element: '.$aefe->getErrorMessage());
 								return false;




More information about the Fusionforge-commits mailing list