[Fusionforge-commits] FusionForge branch master updated. v6.0.5-2058-g03f969b

Marc-Etienne VARGENAU vargenau at libremir.placard.fr.eu.org
Fri Aug 4 14:28:34 CEST 2017


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, master has been updated
       via  03f969b79a9d4c096c921f729570d8e4897fb937 (commit)
      from  4b8dc437a471954f5f408d7c8dc83847f01f80d1 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=03f969b79a9d4c096c921f729570d8e4897fb937

commit 03f969b79a9d4c096c921f729570d8e4897fb937
Author: Marc-Etienne Vargenau <marc-etienne.vargenau at nokia.com>
Date:   Fri Aug 4 14:28:17 2017 +0200

    Use array() instead of false

diff --git a/src/common/tracker/ArtifactType.class.php b/src/common/tracker/ArtifactType.class.php
index ca5e848..f5b9420 100644
--- a/src/common/tracker/ArtifactType.class.php
+++ b/src/common/tracker/ArtifactType.class.php
@@ -163,9 +163,9 @@ class ArtifactType extends FFError {
 	/**
 	 * @param	Group		$Group			The Group object.
 	 * @param	int|bool	$artifact_type_id	The id # assigned to this artifact type in the db.
-	 * @param	array|bool	$arr			The associative array of data.
+	 * @param	array		$arr			The associative array of data.
 	 */
-	function __construct($Group, $artifact_type_id = false, $arr = false) {
+	function __construct($Group, $artifact_type_id = false, $arr = array()) {
 		parent::__construct();
 		if (!$Group || !is_object($Group)) {
 			$this->setError(_('Invalid Project'));

-----------------------------------------------------------------------

Summary of changes:
 src/common/tracker/ArtifactType.class.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list