Bug fix php72 notice twitter #622

Merged
MrPetovan merged 3 commits from bug/fix-php72-notice-twitter into develop 2018-06-16 16:12:33 +02:00
Showing only changes of commit 9e73131493 - Show all commits

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