[Fusionforge-commits] FusionForge branch master updated. 4461130181525e1198306948fe534dca1d769164

Marc-Etienne VARGENAU vargenau at fusionforge.org
Sun Feb 2 19:04:48 CET 2014


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  4461130181525e1198306948fe534dca1d769164 (commit)
      from  c2bca9fc905db1c886890d1f8d034e22e84b925b (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 -----------------------------------------------------------------
commit 4461130181525e1198306948fe534dca1d769164
Author: vargenau <Marc-Etienne.Vargenau at alcatel-lucent.com>
Date:   Sun Feb 2 19:07:18 2014 +0100

    Add return argument

diff --git a/src/common/forum/ForumAdmin.class.php b/src/common/forum/ForumAdmin.class.php
index 6ecde0c..881253d 100644
--- a/src/common/forum/ForumAdmin.class.php
+++ b/src/common/forum/ForumAdmin.class.php
@@ -273,7 +273,7 @@ class ForumAdmin extends Error {
 						array ($group_id));
 			if (!$res) {
 				echo db_error();
-				return;
+				return '';
 			}
 
 			$moderated_forums = array();
@@ -326,7 +326,7 @@ class ForumAdmin extends Error {
 				$forum_id));
 			if (!$res) {
 				echo db_error();
-				return;
+				return '';
 			}
 
 			//array with the supported actions

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

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


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list