From 51e30d0bd0c92f2476aa768579951e4157285eb3 Mon Sep 17 00:00:00 2001 From: xzilla Date: Sun, 31 Dec 2006 19:06:16 +0000 Subject: [PATCH] fix bug [ 1625413 ] Error during login on 8.2 as well --- classes/database/Postgres82.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/database/Postgres82.php b/classes/database/Postgres82.php index 54c2d553..6f8fb105 100644 --- a/classes/database/Postgres82.php +++ b/classes/database/Postgres82.php @@ -3,7 +3,7 @@ /** * PostgreSQL 8.2 support * - * $Id: Postgres82.php,v 1.3 2006/11/19 21:33:13 xzilla Exp $ + * $Id: Postgres82.php,v 1.4 2006/12/31 19:06:16 xzilla Exp $ */ include_once('./classes/database/Postgres81.php'); @@ -73,7 +73,7 @@ class Postgres82 extends Postgres81 { if (isset($conf['owned_only']) && $conf['owned_only'] && !$this->isSuperUser($server_info['username'])) { $username = $server_info['username']; $this->clean($username); - $clause = " AND pu.usename='{$username}'"; + $clause = " AND pr.rolname='{$username}'"; } else $clause = ''; -- 2.39.5