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 061743ee43e7f18cbed5d147c9087bc67973a9d8 (commit)
from c9bce43e61333db349e5efc5057edc639ea9b915 (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=061743ee43e7f18cbed5d147c9087bc67973a9d8
commit 061743ee43e7f18cbed5d147c9087bc67973a9d8
Author: Franck Villaume <[email protected]>
Date: Sun Dec 22 19:12:13 2019 +0100
fix PHP warning
diff --git a/src/common/tracker/Artifact.class.php
b/src/common/tracker/Artifact.class.php
index 436427a..0f66153 100644
--- a/src/common/tracker/Artifact.class.php
+++ b/src/common/tracker/Artifact.class.php
@@ -7,7 +7,7 @@
* Copyright 2009, Roland Mas
* Copyright (C) 2009-2013 Alain Peyrat, Alcatel-Lucent
* Copyright 2012, Thorsten “mirabilos” Glaser <[email protected]>
- * Copyright 2014-2017, Franck Villaume - TrivialDev
+ * Copyright 2014-2017,2019, Franck Villaume - TrivialDev
* Copyright 2016-2017, Stéphane-Eymeric Bredthauer - TrivialDev
*
* This file is part of FusionForge. FusionForge is free software;
@@ -137,7 +137,7 @@ class Artifact extends FFObject {
*
* @var array $children
*/
- var $children;
+ var $children = array();
/**
* Database result set of parent
@@ -2224,7 +2224,7 @@ class Artifact extends FFObject {
$this->children = $this->getChildren();
}
$nb = count($this->children);
- if ($nb>0) {
+ if ($nb > 0) {
return $nb;
}
return false;
-----------------------------------------------------------------------
Summary of changes:
src/common/tracker/Artifact.class.php | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits