From 9b3a49c5580157fc15499a160533a8babaf7add2 Mon Sep 17 00:00:00 2001 From: Roland Mas Date: Mon, 26 Mar 2012 10:14:31 +0000 Subject: [PATCH] Fix variable name --- src/common/include/database-pgsql.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/include/database-pgsql.php b/src/common/include/database-pgsql.php index e26ca7583e..d84cfef2e6 100644 --- a/src/common/include/database-pgsql.php +++ b/src/common/include/database-pgsql.php @@ -241,7 +241,7 @@ function db_query_params($qstring, $params, $limit = '-1', $offset = 0, $dbserve $qstring=$qstring." LIMIT $limit OFFSET $offset"; } - $res = @pg_query_params($dbserver, $qstring, $params); + $res = @pg_query_params($dbconn, $qstring, $params); if ($res) { if ($sysdebug_dbquery) { ffDebug("trace", -- 2.30.2