Use empty() instead of !x()

2022.09-rc
Pierre Rudloff 2018-04-07 23:21:51 +02:00
rodzic 333eb5f9dd
commit bef3799942
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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');
}