[twitter] Fix PHP 7.2 notice in twitter_fetchparentposts
This commit is contained in:
parent
49558d7d22
commit
9e73131493
|
@ -1578,7 +1578,7 @@ function twitter_fetchparentposts(App $a, $uid, $post, $connection, $self, $own_
|
|||
break;
|
||||
}
|
||||
|
||||
if (!count($post)) {
|
||||
if (empty($post)) {
|
||||
logger("twitter_fetchparentposts: Can't fetch post " . $parameters->id, LOGGER_DEBUG);
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user