diff options
author | sf <sf@notomorrow.de> | 2009-02-23 23:03:36 +0100 |
---|---|---|
committer | sf <sf@notomorrow.de> | 2009-02-23 23:03:36 +0100 |
commit | fd54034ac148829edb6a8b4109b9c89d962cb631 (patch) | |
tree | 03c535ee9628f08829203d578dbae4d9c5181a17 | |
parent | b14a97aef26bc5ae134ea206ab27467c3a30828e (diff) | |
download | rpg-fd54034ac148829edb6a8b4109b9c89d962cb631.tar.gz rpg-fd54034ac148829edb6a8b4109b9c89d962cb631.tar.bz2 |
auth-pgsql-fix
darcs-hash:20090223220336-59652-9270d976ddc6e039a2116f9a7937113421211e29.gz
-rw-r--r-- | inc/auth/pgsql.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/auth/pgsql.class.php b/inc/auth/pgsql.class.php index c80f3ce5a..010b0f6d5 100644 --- a/inc/auth/pgsql.class.php +++ b/inc/auth/pgsql.class.php @@ -196,7 +196,7 @@ class auth_pgsql extends auth_mysql { $sql = $this->cnf['addUserGroup']; if(strpos($sql,'%{uid}') !== false){ $uid = $this->_getUserID($user); - $sql = str_replace('%{uid}', $sql); + $sql = str_replace('%{uid}', $uid, $sql); } $sql = str_replace('%{user}', addslashes($user),$sql); $sql = str_replace('%{gid}', addslashes($gid),$sql); |