Fix condition creation
This commit is contained in:
parent
f134903fcf
commit
6670a2409f
|
@ -2170,7 +2170,7 @@ function api_statuses_mentions($type)
|
||||||
$since_id];
|
$since_id];
|
||||||
|
|
||||||
if ($max_id > 0) {
|
if ($max_id > 0) {
|
||||||
$condition[0] .= " AND `item`.`id` <= ?";
|
$query .= " AND `item`.`id` <= ?";
|
||||||
$condition[] = $max_id;
|
$condition[] = $max_id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user