[Fusionforge-commits] FusionForge branch 6.0 updated. v6.0.3-1-g999fa21

Sylvain Beucler beuc-inria at libremir.placard.fr.eu.org
Tue Oct 13 17:23:17 CEST 2015


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, 6.0 has been updated
       via  999fa21891c3fa5724582a99509126f283bd34ff (commit)
      from  714ee009925eecb195baa70b6e184daad9ed33c8 (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=999fa21891c3fa5724582a99509126f283bd34ff

commit 999fa21891c3fa5724582a99509126f283bd34ff
Author: Sylvain Beucler <sylvain.beucler at inria.fr>
Date:   Tue Oct 13 17:23:06 2015 +0200

    scmhook: fix non-editable mailing list name in some configurations

diff --git a/src/CHANGES b/src/CHANGES
index 0a241c0..c2ba968 100644
--- a/src/CHANGES
+++ b/src/CHANGES
@@ -1,4 +1,7 @@
-Fusionforge 6.0.3:
+FusionForge 6.0.4:
+* Plugin scmhook: fix non-editable mailing list name in some configurations (Inria)
+
+FusionForge 6.0.3:
 * Layout: fix rss url when url is absolute (TrivialDev)
 * Accounts: accept more elliptic curve ssh keys types (Unit 193 & Inria)
 * Accounts: fix missing system privileges when using "Add Users From List" (Inria)
diff --git a/src/plugins/scmhook/common/scmhookPlugin.class.php b/src/plugins/scmhook/common/scmhookPlugin.class.php
index e5ef7ba..d34e508 100644
--- a/src/plugins/scmhook/common/scmhookPlugin.class.php
+++ b/src/plugins/scmhook/common/scmhookPlugin.class.php
@@ -146,8 +146,8 @@ project independently.");
 			$hook_params = $hook->getParams();
 			if (count($hook_params) == 0)
 				continue;
-                        if (!array_search($hook->getClassname(), $enabled_hooknames))
-                                continue;
+			if (array_search($hook->getClassname(), $enabled_hooknames) === false)
+				continue;
 			// Build 3 arrays for inconvenient db_query_params()
 			$i = 1;
 			$sql_cols = array_keys($hook_params);

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

Summary of changes:
 src/CHANGES                                        | 5 ++++-
 src/plugins/scmhook/common/scmhookPlugin.class.php | 4 ++--
 2 files changed, 6 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list