From 5899d821efb669ffbd8730bfbb634b96c1650333 Mon Sep 17 00:00:00 2001 From: Pierre Rudloff Date: Mon, 18 Dec 2017 14:36:06 +0100 Subject: [PATCH] Remove useless intval() in api_search --- include/api.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()));