[Fusionforge-commits] FusionForge branch master updated. v6.0.5-1511-g506bd9c

Franck Villaume nerville at libremir.placard.fr.eu.org
Mon Mar 6 19:42:29 CET 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  506bd9c06bc41dfd1770d6f1d2cd3e9b80d2c83e (commit)
      from  d1c9ab266dd03e299d1fe938dc5faa2defbfea6a (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=506bd9c06bc41dfd1770d6f1d2cd3e9b80d2c83e

commit 506bd9c06bc41dfd1770d6f1d2cd3e9b80d2c83e
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date:   Mon Mar 6 19:41:34 2017 +0100

    forge cli: fix frsDump with option all

diff --git a/src/bin/forge b/src/bin/forge
index fe22437..7059e4e 100755
--- a/src/bin/forge
+++ b/src/bin/forge
@@ -383,7 +383,11 @@ class CliActions {
 				if ($frsp && is_object($frsp) && !$frsp->isError()) {
 					switch ($params[0]) {
 						case 'all':
-							$frsDump['setup'] = $frsp->getFRSs();
+							$frss = $frsp->getFRSs();
+							foreach ($frss as $frs) {
+								unset($frs->Group);
+								$frsDump['setup'][] = $frs;
+							}
 						case 'data':
 							break;
 						case 'setup':

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

Summary of changes:
 src/bin/forge | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list