]> git.mxchange.org Git - friendica-addons.git/commitdiff
[twitter] Fix undefined object notice
authorHypolite Petovan <hypolite@mrpetovan.com>
Mon, 17 Jun 2019 13:05:14 +0000 (09:05 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Mon, 17 Jun 2019 13:05:14 +0000 (09:05 -0400)
twitter/twitter.php

index 4065691828f30610c35e8e259f5327efd1b03f61..b38ee92d0fa71ad36447542cbb4e4a0d6920ea4a 100644 (file)
@@ -1549,7 +1549,7 @@ function twitter_fetchparentposts(App $a, $uid, $post, TwitterOAuth $connection,
                }
 
                if (empty($post)) {
-                       Logger::log("twitter_fetchparentposts: Can't fetch post " . $parameters->id, Logger::DEBUG);
+                       Logger::log("twitter_fetchparentposts: Can't fetch post " . $parameters['id'], Logger::DEBUG);
                        break;
                }