diff --git a/twitter/twitter.php b/twitter/twitter.php index a38fd72bb..d9f6f20fc 100644 --- a/twitter/twitter.php +++ b/twitter/twitter.php @@ -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; }