Fix condition creation

This commit is contained in:
Michael 2020-01-05 19:48:01 +00:00
parent f134903fcf
commit 6670a2409f

View file

@ -2170,7 +2170,7 @@ function api_statuses_mentions($type)
$since_id];
if ($max_id > 0) {
$condition[0] .= " AND `item`.`id` <= ?";
$query .= " AND `item`.`id` <= ?";
$condition[] = $max_id;
}