From: Pierre Rudloff Date: Sat, 7 Apr 2018 21:21:51 +0000 (+0200) Subject: Use empty() instead of !x() X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=bef3799942a59ad7caa6c70a412f6f824ceee699;p=friendica.git Use empty() instead of !x() --- diff --git a/include/api.php b/include/api.php index 40afd4b08b..f5fb96cb47 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 (!x($_REQUEST, 'list_id')) { + if (empty($_REQUEST, 'list_id')) { throw new BadRequestException('list_id not specified'); }