Remove useless intval() in api_search
This commit is contained in:
parent
31d63d929d
commit
5899d821ef
1 changed files with 2 additions and 2 deletions
|
@ -1530,9 +1530,9 @@ function api_search($type)
|
||||||
$sql_extra
|
$sql_extra
|
||||||
AND `item`.`id`>?
|
AND `item`.`id`>?
|
||||||
ORDER BY `item`.`id` DESC LIMIT ".intval($start)." ,".intval($count)." ",
|
ORDER BY `item`.`id` DESC LIMIT ".intval($start)." ,".intval($count)." ",
|
||||||
intval(api_user()),
|
api_user(),
|
||||||
$_REQUEST['q'],
|
$_REQUEST['q'],
|
||||||
intval($since_id)
|
$since_id
|
||||||
);
|
);
|
||||||
|
|
||||||
$data['status'] = api_format_items(dba::inArray($r), api_get_user(get_app()));
|
$data['status'] = api_format_items(dba::inArray($r), api_get_user(get_app()));
|
||||||
|
|
Loading…
Reference in a new issue