Fix wrong use of empty()

This commit is contained in:
Pierre Rudloff 2018-04-08 00:55:05 +02:00
parent bef3799942
commit 9c351bad68

View File

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