]> git.mxchange.org Git - friendica-addons.git/commitdiff
Notices in twitter removed (#689)
authorMichael Vogel <icarus@dabo.de>
Wed, 8 Aug 2018 23:05:27 +0000 (01:05 +0200)
committerHypolite Petovan <mrpetovan@eml.cc>
Wed, 8 Aug 2018 23:05:27 +0000 (01:05 +0200)
twitter/twitter.php

index ca693812297a1c68ff32f170c039ffe027b4379b..d95a1a7af3667f2267c1b5e1a95196fa21fb5bdb 100644 (file)
@@ -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 {