[twitter] Fix PHP 7.2 notice in twitter_fetchparentposts

This commit is contained in:
Hypolite Petovan 2018-06-15 20:53:50 -04:00
parent 49558d7d22
commit 9e73131493

View file

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