]> git.mxchange.org Git - friendica-addons.git/blobdiff - twitter/twitter.php
Mirroring: There was a problem that the title variable wasn't cleared so it could...
[friendica-addons.git] / twitter / twitter.php
index 775072e0bfd846e0fc067b52f234286f9797b40f..5e01db959f1973b2d66802dabdd501f898baeb19 100755 (executable)
@@ -678,6 +678,7 @@ function twitter_fetchtimeline($a, $uid) {
                        $_SESSION["authenticated"] = true;
                        $_SESSION["uid"] = $uid;
 
+                       unset($_REQUEST);
                        $_REQUEST["type"] = "wall";
                        $_REQUEST["api_source"] = true;
                        $_REQUEST["profile_uid"] = $uid;
@@ -685,6 +686,8 @@ function twitter_fetchtimeline($a, $uid) {
 
                        //$_REQUEST["date"] = $post->created_at;
 
+                       $_REQUEST["title"] = "";
+
                        $_REQUEST["body"] = $post->text;
                        if (is_string($post->place->name))
                                $_REQUEST["location"] = $post->place->name;