From: Pierre Rudloff Date: Mon, 18 Dec 2017 13:36:06 +0000 (+0100) Subject: Remove useless intval() in api_search X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5899d821efb669ffbd8730bfbb634b96c1650333;p=friendica.git Remove useless intval() in api_search --- diff --git a/include/api.php b/include/api.php index b247a738d0..39a1f03185 100644 --- a/include/api.php +++ b/include/api.php @@ -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()));