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  2efd15dce79fd81ab1a8c37d0a02cfa61f6038c9 (commit)
      from  a7e31ec6cdd48256b5802f3b1eff88b1b20fb01b (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=2efd15dce79fd81ab1a8c37d0a02cfa61f6038c9

commit 2efd15dce79fd81ab1a8c37d0a02cfa61f6038c9
Author: Franck Villaume <[email protected]>
Date:   Mon May 8 18:05:17 2017 +0200

    SOAP API: fix userGetGroups, wrong var

diff --git a/src/www/soap/common/user.php b/src/www/soap/common/user.php
index c455bdd..2a9d420 100644
--- a/src/www/soap/common/user.php
+++ b/src/www/soap/common/user.php
@@ -326,7 +326,7 @@ function changePassword ($session_ser, $user_id, $password) 
{
 function userGetGroups($session_ser, $user_id) {
        continue_session($session_ser);
        $user = user_get_object($user_id);
-       if (!$user || !is_object($user) || !($u->getID() == user_getid() || 
forge_check_global_perm('forge_admin'))) {
+       if (!$user || !is_object($user) || !($user->getID() == user_getid() || 
forge_check_global_perm('forge_admin'))) {
                return new soap_fault('3003', 'user', 'Could Not Get Users 
Projects', 'Could Not Get Users Projects');
        }
        return groups_to_soap($user->getGroups());

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

Summary of changes:
 src/www/soap/common/user.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