From: Michael Vogel Date: Wed, 8 Aug 2018 23:05:27 +0000 (+0200) Subject: Notices in twitter removed (#689) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=eae3579c88b829d04ea57fc74de090ef4b54274d;p=friendica-addons.git Notices in twitter removed (#689) --- diff --git a/twitter/twitter.php b/twitter/twitter.php index ca693812..d95a1a7a 100644 --- a/twitter/twitter.php +++ b/twitter/twitter.php @@ -1509,7 +1509,7 @@ function twitter_fetchparentposts(App $a, $uid, $post, TwitterOAuth $connection, $posts = []; - while ($post->in_reply_to_status_id_str != "") { + while (!empty($post->in_reply_to_status_id_str)) { $parameters = ["trim_user" => false, "tweet_mode" => "extended", "id" => $post->in_reply_to_status_id_str]; try {