aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/db
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/db')
-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 6a25ea9397..5286b215ad 100644
--- a/phpBB/db/mysql.php
+++ b/phpBB/db/mysql.php
@@ -137,7 +137,7 @@ class sql_db
return ( $this->query_result) ? $this->query_result : ( ( $transaction == END_TRANSACTION ) ? true : false );
}
- function sql_query_limit($query = '', $total, $offset, $transaction = false)
+ function sql_query_limit($query = '', $total, $offset = 0, $transaction = false)
{
if ( $query != '' )
{