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  64bf19522c695b892e0a4d010d1457fb9faf6711 (commit)
      from  9c7cd2ca65bbf32ff8a0e810054e414e264c2836 (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=64bf19522c695b892e0a4d010d1457fb9faf6711

commit 64bf19522c695b892e0a4d010d1457fb9faf6711
Author: Franck Villaume <[email protected]>
Date:   Fri Sep 30 11:27:11 2016 +0200

    fix user_id => user

diff --git a/src/common/tracker/Artifact.class.php 
b/src/common/tracker/Artifact.class.php
index fdb964d..9b30a73 100644
--- a/src/common/tracker/Artifact.class.php
+++ b/src/common/tracker/Artifact.class.php
@@ -200,7 +200,7 @@ class Artifact extends FFError {
                                return false;
                        }
 
-                       $user_id = ((session_loggedin()) ? user_getid() : 100);
+                       $user = ((session_loggedin()) ? user_getid() : 100);
                }
 
                //
@@ -834,7 +834,7 @@ class Artifact extends FFError {
                if (array_key_exists('user', $importData)){
                        $user = $importData['user'];
                } else {
-                       $user_id = ((session_loggedin()) ? user_getid() : 100);
+                       $user = ((session_loggedin()) ? user_getid() : 100);
                }
                if (array_key_exists('time',$importData)){
                        $time = $importData['time'];

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

Summary of changes:
 src/common/tracker/Artifact.class.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
FusionForge

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

Reply via email to