[Fusionforge-commits] r7784 - branches/Branch_4_8/gforge/common/tracker

Guillaume Smet gsmet at libremir.placard.fr.eu.org
Wed Jun 10 01:05:46 CEST 2009


Author: gsmet
Date: 2009-06-10 01:05:46 +0200 (Wed, 10 Jun 2009)
New Revision: 7784

Modified:
   branches/Branch_4_8/gforge/common/tracker/ArtifactExtraField.class.php
Log:
fixed the error message when $ArtifactType is invalid

Modified: branches/Branch_4_8/gforge/common/tracker/ArtifactExtraField.class.php
===================================================================
--- branches/Branch_4_8/gforge/common/tracker/ArtifactExtraField.class.php	2009-06-09 09:05:54 UTC (rev 7783)
+++ branches/Branch_4_8/gforge/common/tracker/ArtifactExtraField.class.php	2009-06-09 23:05:46 UTC (rev 7784)
@@ -68,7 +68,7 @@
 		}
 		//did ArtifactType have an error?
 		if ($ArtifactType->isError()) {
-			$this->setError('ArtifactExtraField: '.$Artifact->getErrorMessage());
+			$this->setError('ArtifactExtraField: '.$ArtifactType->getErrorMessage());
 			return false;
 		}
 		$this->ArtifactType =& $ArtifactType;




More information about the Fusionforge-commits mailing list