[Fusionforge-commits] FusionForge branch Branch_5_3 updated. b5f9ab1f39e8b3aa22dd1c00d5691c47810ba0c3

Roland Mas lolando at fusionforge.org
Mon Sep 22 12:10:24 CEST 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, Branch_5_3 has been updated
       via  b5f9ab1f39e8b3aa22dd1c00d5691c47810ba0c3 (commit)
      from  ae09a30472bc5d0ca2023766695a23b816cc91b5 (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 b5f9ab1f39e8b3aa22dd1c00d5691c47810ba0c3
Author: Roland Mas <lolando at debian.org>
Date:   Mon Sep 22 12:10:06 2014 +0200

    Fixed /users/foo when restrict_users_visibility is true

diff --git a/src/www/users b/src/www/users
index e9bd6a1..57c7b37 100644
--- a/src/www/users
+++ b/src/www/users
@@ -56,7 +56,7 @@ if (forge_get_config('restrict_users_visibility')) {
 	}
 	$u2 = $user->getID();
 
-	$u2gl = $u2->getGroups();
+	$u2gl = $user->getGroups();
 	$seen = false;
 	foreach ($u2gl as $u2g) {
 		if (forge_check_perm('project_read', $u2g->getID())) {

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

Summary of changes:
 src/www/users |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list