[Fusionforge-commits] r10577 - trunk/src/common/tracker

Alain Peyrat aljeux at libremir.placard.fr.eu.org
Mon Sep 20 23:02:16 CEST 2010


Author: aljeux
Date: 2010-09-20 23:02:16 +0200 (Mon, 20 Sep 2010)
New Revision: 10577

Modified:
   trunk/src/common/tracker/ArtifactExtraField.class.php
Log:
Update list of protected aliases in the tracker.

Modified: trunk/src/common/tracker/ArtifactExtraField.class.php
===================================================================
--- trunk/src/common/tracker/ArtifactExtraField.class.php	2010-09-20 21:02:08 UTC (rev 10576)
+++ trunk/src/common/tracker/ArtifactExtraField.class.php	2010-09-20 21:02:16 UTC (rev 10577)
@@ -299,7 +299,7 @@
 	 *	@return	string	type.
 	 */
 	function getTypeName() {
-		$arr=&$this->getAvailableTypes();
+		$arr = $this->getAvailableTypes();
 		return $arr[$this->data_array['field_type']];
 	}
 
@@ -481,11 +481,14 @@
 		// these are reserved alias names
 		static $reserved_alias = array(
 			"project",
-			"type",
 			"priority",
 			"assigned_to",
+			"submitted_by",
+			"open_date",
+			"close_date",
 			"summary",
-			"details"
+			"details",
+			"last_modified_date"
 		);
 
 		if (strlen($alias) == 0) return true;		// empty alias




More information about the Fusionforge-commits mailing list