[twitter] Fix PHP 7.2 notice in twitter_fetchparentposts

pull/622/head
Hypolite Petovan 2018-06-15 20:53:50 -04:00
parent 49558d7d22
commit 9e73131493
1 changed files with 1 additions and 1 deletions

View File

@ -1578,7 +1578,7 @@ function twitter_fetchparentposts(App $a, $uid, $post, $connection, $self, $own_
break; break;
} }
if (!count($post)) { if (empty($post)) {
logger("twitter_fetchparentposts: Can't fetch post " . $parameters->id, LOGGER_DEBUG); logger("twitter_fetchparentposts: Can't fetch post " . $parameters->id, LOGGER_DEBUG);
break; break;
} }