aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2003-02-26 01:47:55 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2003-02-26 01:47:55 +0000
commite295cab3043d1eafc3ab4344ab83dae171e058cc (patch)
treecdc752f1ad1683c38ab2b9f584267284424bf81e /phpBB
parent98c7975cc6b4c84c9e3db0fae26faaa05c6d3dcb (diff)
downloadforums-e295cab3043d1eafc3ab4344ab83dae171e058cc.tar
forums-e295cab3043d1eafc3ab4344ab83dae171e058cc.tar.gz
forums-e295cab3043d1eafc3ab4344ab83dae171e058cc.tar.bz2
forums-e295cab3043d1eafc3ab4344ab83dae171e058cc.tar.xz
forums-e295cab3043d1eafc3ab4344ab83dae171e058cc.zip
What a shock
git-svn-id: file:///svn/phpbb/trunk@3540 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/db/mysql.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/db/mysql.php b/phpBB/db/mysql.php
index 4d0f9d62f6..121d6be748 100644
--- a/phpBB/db/mysql.php
+++ b/phpBB/db/mysql.php
@@ -216,7 +216,7 @@ class sql_db
$this->query_result = false;
$this->num_queries++;
- $query .= ' LIMIT ' . ((!empty($offset)) ? $offset . ', ' . $total : $total);
+ $query .= ' LIMIT ' . ((!empty($offset)) ? $total . ', ' . $offset : $total);
return $this->sql_query($query, $expire_time);
}