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  4b8dc437a471954f5f408d7c8dc83847f01f80d1 (commit)
      from  904846d29bb1f771e1433219621d368b7a899ba1 (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=4b8dc437a471954f5f408d7c8dc83847f01f80d1

commit 4b8dc437a471954f5f408d7c8dc83847f01f80d1
Author: Marc-Etienne Vargenau <[email protected]>
Date:   Fri Aug 4 11:00:20 2017 +0200

    Use array() instead of false

diff --git a/src/www/trove/TroveCategory.class.php 
b/src/www/trove/TroveCategory.class.php
index d28457d..7cbc2a2 100644
--- a/src/www/trove/TroveCategory.class.php
+++ b/src/www/trove/TroveCategory.class.php
@@ -50,9 +50,9 @@ class TroveCategory extends FFError {
 
        /**
         * @param       bool|int                        $categoryId             
The trove_cat_id.
-        * @param       bool|array      $dataArray              The associative 
array of data.
+        * @param       array   $dataArray              The associative array 
of data.
         */
-       function __construct($categoryId = false, $dataArray = false) {
+       function __construct($categoryId = false, $dataArray = array()) {
                if ($categoryId) {
                        $this->categoryId = $categoryId;
                        if (!$dataArray || !is_array($dataArray)) {

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

Summary of changes:
 src/www/trove/TroveCategory.class.php | 4 ++--
 1 file changed, 2 insertions(+), 2 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