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  59025793733d58b70a8aad2bd5f11da102f59ad8 (commit)
      from  2698c324702a7062f1d419046f555d01721679a5 (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=59025793733d58b70a8aad2bd5f11da102f59ad8

commit 59025793733d58b70a8aad2bd5f11da102f59ad8
Author: Marc-Etienne Vargenau <[email protected]>
Date:   Fri Aug 4 15:41:12 2017 +0200

    Use array() instead of false

diff --git a/src/common/pm/ProjectTask.class.php 
b/src/common/pm/ProjectTask.class.php
index 2445a27..6a8b74b 100644
--- a/src/common/pm/ProjectTask.class.php
+++ b/src/common/pm/ProjectTask.class.php
@@ -83,9 +83,9 @@ class ProjectTask extends FFError {
        /**
         * @param       object          $ProjectGroup           The 
ProjectGroup object to which this ProjectTask is associated.
         * @param       int|bool        $project_task_id        The 
project_task_id.
-        * @param       array|bool      $arr                    The associative 
array of data.
+        * @param       array           $arr                    The associative 
array of data.
         */
-       function __construct(&$ProjectGroup, $project_task_id=false, 
$arr=false) {
+       function __construct(&$ProjectGroup, $project_task_id=false, 
$arr=array()) {
                parent::__construct();
                if (!$ProjectGroup || !is_object($ProjectGroup)) {
                        $this->setError('No Valid ProjectGroup Object');
diff --git a/src/www/pm/include/ProjectTaskHTML.class.php 
b/src/www/pm/include/ProjectTaskHTML.class.php
index e687714..00b6e4c 100644
--- a/src/www/pm/include/ProjectTaskHTML.class.php
+++ b/src/www/pm/include/ProjectTaskHTML.class.php
@@ -29,7 +29,7 @@ require_once $gfcommon.'pm/ProjectTask.class.php';
 
 class ProjectTaskHTML extends ProjectTask {
 
-       function __construct(&$ProjectGroup, $project_task_id=false, 
$arr=false) {
+       function __construct(&$ProjectGroup, $project_task_id=false, 
$arr=array()) {
                parent::__construct($ProjectGroup, $project_task_id, $arr);
        }
 

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

Summary of changes:
 src/common/pm/ProjectTask.class.php          | 4 ++--
 src/www/pm/include/ProjectTaskHTML.class.php | 2 +-
 2 files 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

Reply via email to