diff options
-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); |