]> git.mxchange.org Git - friendica-addons.git/blobdiff - fbpost/fbpost.php
Mirroring: There was a problem that the title variable wasn't cleared so it could...
[friendica-addons.git] / fbpost / fbpost.php
index ba60f4e64bdca3b6eb7c62ddbec399f340f7e2af..1167376a8fa564b9cee0ccbe9bd4c27cfa456784 100644 (file)
@@ -1052,11 +1052,14 @@ function fbpost_fetchwall($a, $uid) {
                $_SESSION["authenticated"] = true;
                $_SESSION["uid"] = $uid;
 
+               unset($_REQUEST);
                $_REQUEST["type"] = "wall";
                $_REQUEST["api_source"] = true;
                $_REQUEST["profile_uid"] = $uid;
                $_REQUEST["source"] = "Facebook";
 
+               $_REQUEST["title"] = "";
+
                $_REQUEST["body"] = (isset($item->message) ? escape_tags($item->message) : '');
 
                if(isset($item->name) and isset($item->link))