[Fusionforge-commits] FusionForge branch master updated. d29a8f8c536aa0a4dff13d36fb961fa7d4401ecd

Franck VILLAUME nerville at fusionforge.org
Sun Aug 25 21:41:14 CEST 2013


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  d29a8f8c536aa0a4dff13d36fb961fa7d4401ecd (commit)
      from  9c9befd63a0d3e8f7b4dc16d72678410f173fcc0 (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 d29a8f8c536aa0a4dff13d36fb961fa7d4401ecd
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date:   Sun Aug 25 21:40:48 2013 +0200

    Group: patch #540, in activateUsers use proper roles

diff --git a/src/common/include/Group.class.php b/src/common/include/Group.class.php
index 64c99ca..f73cd32 100644
--- a/src/common/include/Group.class.php
+++ b/src/common/include/Group.class.php
@@ -2210,6 +2210,8 @@ class Group extends Error {
 				if ($role->getHomeProject() && $role->getHomeProject()->getID() == $this->getID()) {
 					$roles[] = $role ;
 				}
+			}
+			foreach ($roles as $role) {
 				if (!$this->addUser($member->getUnixName(),$role->getID())) {
 					return false;
 				}

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

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


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list