From: Pierre Rudloff Date: Sat, 7 Apr 2018 22:55:05 +0000 (+0200) Subject: Fix wrong use of empty() X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9c351bad6869c255a04d3ac8d2398e686e1d9286;p=friendica.git Fix wrong use of empty() --- diff --git a/include/api.php b/include/api.php index f5fb96cb47..34b1352ce3 100644 --- a/include/api.php +++ b/include/api.php @@ -3354,7 +3354,7 @@ function api_lists_statuses($type) unset($_GET["screen_name"]); $user_info = api_get_user($a); - if (empty($_REQUEST, 'list_id')) { + if (empty($_REQUEST['list_id'])) { throw new BadRequestException('list_id not specified'); }