[evolvis-commits] r17628: xhtml-improvements pending merges:↵ Thorsten Glaser 2011-10-24 onChange → onchange (XHTML)↵ Thorsten Glaser 2011-10-21 grml… and people are still using ONCHANGE here, too…

mirabilos at evolvis.org mirabilos at evolvis.org
Mon Oct 24 14:08:47 CEST 2011


Author: mirabilos
Date: 2011-10-24 14:08:47 +0200 (Mon, 24 Oct 2011)
New Revision: 17628

Modified:
   trunk/gforge_base/evolvisforge-5.1/src/common/tracker/Artifact.class.php
   trunk/gforge_base/evolvisforge-5.1/src/www/include/Layout.class.php
Log:
xhtml-improvements pending merges:
  Thorsten Glaser 2011-10-24 onChange → onchange (XHTML)
    Thorsten Glaser 2011-10-21 grml… and people are still using ONCHANGE here, too…


Modified: trunk/gforge_base/evolvisforge-5.1/src/common/tracker/Artifact.class.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/common/tracker/Artifact.class.php	2011-10-24 12:08:44 UTC (rev 17627)
+++ trunk/gforge_base/evolvisforge-5.1/src/common/tracker/Artifact.class.php	2011-10-24 12:08:47 UTC (rev 17628)
@@ -1464,7 +1464,7 @@
 						array ($this->getID())) ;
 			$ef = $this->ArtifactType->getExtraFields();
 			while ($arr = db_fetch_array($res)) {
-				$type=$ef[$arr['extra_field_id']]['field_type'];
+				$type = util_ifsetor($ef[$arr['extra_field_id']]['field_type']);
 				if (($type == ARTIFACT_EXTRAFIELDTYPE_CHECKBOX) || ($type==ARTIFACT_EXTRAFIELDTYPE_MULTISELECT)) {
 					//accumulate a sub-array of values in cases where you may have multiple rows
 					if (!array_key_exists($arr['extra_field_id'], $this->extra_field_data) || !is_array($this->extra_field_data[$arr['extra_field_id']])) {



More information about the evolvis-commits mailing list