From 7de5bb349890d84827d385670c76cd58c40e5b8f Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Fri, 5 Oct 2007 14:36:34 +0000 Subject: dumdidum... sorry. ;) git-svn-id: file:///svn/phpbb/trunk@8147 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/db/postgres.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'phpBB/includes/db/postgres.php') diff --git a/phpBB/includes/db/postgres.php b/phpBB/includes/db/postgres.php index 340c32b37a..bb689a7394 100644 --- a/phpBB/includes/db/postgres.php +++ b/phpBB/includes/db/postgres.php @@ -1,10 +1,10 @@ query_result = false; + function _sql_query_limit($query, $total, $offset = 0, $cache_ttl = 0) + { + $this->query_result = false; // if $total is set to 0 we do not want to limit the number of rows if ($total == 0) @@ -229,7 +229,7 @@ class dbal_postgres extends dbal $query .= "\n LIMIT $total OFFSET $offset"; - return $this->sql_query($query, $cache_ttl); + return $this->sql_query($query, $cache_ttl); } /** -- cgit v1.2.1