aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/db/mysql4.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/db/mysql4.php')
-rw-r--r--phpBB/includes/db/mysql4.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/db/mysql4.php b/phpBB/includes/db/mysql4.php
index 3df2c0ad0d..143996a028 100644
--- a/phpBB/includes/db/mysql4.php
+++ b/phpBB/includes/db/mysql4.php
@@ -151,7 +151,7 @@ class dbal_mysql4 extends dbal
if ($total == 0)
{
// Because MySQL 4.1+ no longer supports -1 in LIMIT queries we set it to the maximum value
- $total = 18446744073709551615;
+ $total = '18446744073709551615';
}
$query .= "\n LIMIT " . ((!empty($offset)) ? $offset . ', ' . $total : $total);