mirror of
https://github.com/friendica/friendica
synced 2024-11-10 03:42:53 +00:00
Use empty() instead of !x()
This commit is contained in:
parent
333eb5f9dd
commit
bef3799942
1 changed files with 1 additions and 1 deletions
|
@ -3354,7 +3354,7 @@ function api_lists_statuses($type)
|
||||||
unset($_GET["screen_name"]);
|
unset($_GET["screen_name"]);
|
||||||
|
|
||||||
$user_info = api_get_user($a);
|
$user_info = api_get_user($a);
|
||||||
if (!x($_REQUEST, 'list_id')) {
|
if (empty($_REQUEST, 'list_id')) {
|
||||||
throw new BadRequestException('list_id not specified');
|
throw new BadRequestException('list_id not specified');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue