[Fusionforge-commits] FusionForge branch Branch_5_3 updated. 7f71b1c125c4b23299d1f29dcdf1a00162c982ca

Roland Mas lolando at fusionforge.org
Tue Sep 16 15:45:12 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  7f71b1c125c4b23299d1f29dcdf1a00162c982ca (commit)
      from  b08b9059227e16f44fc574a27358139d2ee22fa3 (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 7f71b1c125c4b23299d1f29dcdf1a00162c982ca
Author: Roland Mas <lolando at debian.org>
Date:   Tue Sep 16 15:45:08 2014 +0200

    Fixed SQL query

diff --git a/src/common/include/User.class.php b/src/common/include/User.class.php
index 82af10b..1e28848 100644
--- a/src/common/include/User.class.php
+++ b/src/common/include/User.class.php
@@ -1477,7 +1477,7 @@ Use one below, but make sure it is entered as the single line.)
 		if ($unix) {
-			$res = db_query_params('UPDATE users SET unix_pw=$1 WHERE user_id=$1',
+			$res = db_query_params('UPDATE users SET unix_pw=$1 WHERE user_id=$2',
 				array($unix, $this->getID()));
 			if (!$res || db_affected_rows($res) < 1) {


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


More information about the Fusionforge-commits mailing list