From ecbbc224d68081ef53dfacacd09589a20e22763a Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 8 Aug 2018 03:20:33 +0000 Subject: [PATCH] Notices in twitter removed --- twitter/twitter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/twitter/twitter.php b/twitter/twitter.php index a130a1cd..231ef542 100644 --- a/twitter/twitter.php +++ b/twitter/twitter.php @@ -1499,7 +1499,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 {