[evolvis-commits] r18436: small-fixes pending merges:↵ Thorsten Glaser 2012-05-30 fix indentation and comment accidents

mirabilos at evolvis.org mirabilos at evolvis.org
Wed May 30 17:55:24 CEST 2012


Author: mirabilos
Date: 2012-05-30 17:55:24 +0200 (Wed, 30 May 2012)
New Revision: 18436

Modified:
   trunk/gforge_base/evolvisforge-5.1/src/common/tracker/ArtifactType.class.php
Log:
small-fixes pending merges:
  Thorsten Glaser 2012-05-30 fix indentation and comment accidents

Modified: trunk/gforge_base/evolvisforge-5.1/src/common/tracker/ArtifactType.class.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/src/common/tracker/ArtifactType.class.php	2012-05-30 15:55:20 UTC (rev 18435)
+++ trunk/gforge_base/evolvisforge-5.1/src/common/tracker/ArtifactType.class.php	2012-05-30 15:55:24 UTC (rev 18436)
@@ -1028,20 +1028,20 @@
 		
 		// remove status_id in the browse list if a custom status exists
 		if (count($this->getExtraFields(array(ARTIFACT_EXTRAFIELDTYPE_STATUS))) > 0) {
-      $arr = explode(',', $list);
-      $idx = array_search('status_id', $arr);
-      if($idx !== False) {
-        array_splice($arr, $idx, 1);
-      }
-      return join(',', $arr);
-    }
-
-    return $list;
+			$arr = explode(',', $list);
+			$idx = array_search('status_id', $arr);
+			if ($idx !== False) {
+				array_splice($arr, $idx, 1);
+			}
+			return join(',', $arr);
+		}
+		return $list;
 	}
 
 	/**
-	 *	setCustomStatusField - set the extra_field_id of the field containing the custom status.
-	 *	@param	int	The extra field id.
+	 *	setBrowseList - set the list of fields to display.
+	 *
+	 *	@param	string	$list	instructions.
 	 *	@return	boolean	success.
 	 */
 	function setBrowseList($list) {



More information about the evolvis-commits mailing list