[wip] m_mail LIMIT shall not be quoted

This commit is contained in:
Benjamin Sonntag 2016-05-18 18:41:27 +02:00
parent 424b2a9ce7
commit 7b1e5bba94
1 changed files with 3 additions and 2 deletions

View File

@ -311,8 +311,9 @@ ORDER BY
$db->next_record();
$this->total = $db->f("total");
if ($count != -1) {
$limit = " LIMIT ?, ? ";
array_push($query_args, $offset, $count);
$offset = intval($offset);
$count = intval($count);
$limit = " LIMIT $offset, $count ";
} else {
$limit = "";
}