mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-25 11:03:41 +00:00
[twitter] Fix PHP 7.2 notice in twitter_fetchparentposts
This commit is contained in:
parent
49558d7d22
commit
9e73131493
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue