Remove useless intval() in api_search

This commit is contained in:
Pierre Rudloff 2017-12-18 14:36:06 +01:00
parent 31d63d929d
commit 5899d821ef

View file

@ -1530,9 +1530,9 @@ function api_search($type)
$sql_extra
AND `item`.`id`>?
ORDER BY `item`.`id` DESC LIMIT ".intval($start)." ,".intval($count)." ",
intval(api_user()),
api_user(),
$_REQUEST['q'],
intval($since_id)
$since_id
);
$data['status'] = api_format_items(dba::inArray($r), api_get_user(get_app()));