summaryrefslogtreecommitdiff
path: root/lib/plugins/authpgsql/auth.php
diff options
context:
space:
mode:
authorChristopher Smith <chris@jalakai.co.uk>2014-09-29 14:10:08 +0100
committerChristopher Smith <chris@jalakai.co.uk>2014-09-29 14:10:08 +0100
commit07a1dd10b8b570789d74054892a20c952ee99e54 (patch)
tree6ea698c91acb3ebadb1d415df0628b1fe17cbea3 /lib/plugins/authpgsql/auth.php
parentda9572711f54d13ce3c5506971154b0bc359723f (diff)
downloadrpg-07a1dd10b8b570789d74054892a20c952ee99e54.tar.gz
rpg-07a1dd10b8b570789d74054892a20c952ee99e54.tar.bz2
postgresql auth plugin: correct function name
Diffstat (limited to 'lib/plugins/authpgsql/auth.php')
-rw-r--r--lib/plugins/authpgsql/auth.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/plugins/authpgsql/auth.php b/lib/plugins/authpgsql/auth.php
index 99f3ed443..de41598e0 100644
--- a/lib/plugins/authpgsql/auth.php
+++ b/lib/plugins/authpgsql/auth.php
@@ -159,9 +159,11 @@ class auth_plugin_authpgsql extends auth_plugin_authmysql {
if($first) $sql .= " OFFSET $first";
$result = $this->_queryDB($sql);
- foreach($result as $user)
- if(($info = $this->_getCachedUserInfo($user['user'])))
+ foreach($result as $user) {
+ if(($info = $this->_getUserInfo($user['user']))) {
$out[$user['user']] = $info;
+ }
+ }
$this->_unlockTables();
$this->_closeDB();