[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(); $db->next_record();
$this->total = $db->f("total"); $this->total = $db->f("total");
if ($count != -1) { if ($count != -1) {
$limit = " LIMIT ?, ? "; $offset = intval($offset);
array_push($query_args, $offset, $count); $count = intval($count);
$limit = " LIMIT $offset, $count ";
} else { } else {
$limit = ""; $limit = "";
} }