From eae3579c88b829d04ea57fc74de090ef4b54274d Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Thu, 9 Aug 2018 01:05:27 +0200 Subject: [PATCH] Notices in twitter removed (#689) --- twitter/twitter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.39.5