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.1 has been updated
       via  4922691482e4e74977c2f775ecf40f713599be5a (commit)
      from  78cf78c125a798331fe6bc551c87aa29c5bb127f (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=4922691482e4e74977c2f775ecf40f713599be5a

commit 4922691482e4e74977c2f775ecf40f713599be5a
Author: Franck Villaume <[email protected]>
Date:   Tue Nov 14 12:17:55 2017 +0000

    Group class: secure call to provide(). Be sure it is an object

diff --git a/src/common/include/Group.class.php 
b/src/common/include/Group.class.php
index da3980f..0ba1c80 100644
--- a/src/common/include/Group.class.php
+++ b/src/common/include/Group.class.php
@@ -1508,7 +1508,7 @@ class Group extends FFError {
                        if ($p_name == $feature) {
                                return true;
                        }
-                       if ($pm->getPluginByName($p_name)->provide($feature)) {
+                       if (is_object($pm->getPluginByName($p_name)) && 
$pm->getPluginByName($p_name)->provide($feature)) {
                                return true;
                        }
                }

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

Summary of changes:
 src/common/include/Group.class.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
FusionForge

_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits

Reply via email to