From 89f260eb6c969df82ebbe7b94137f5c65cb3fa02 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Fri, 6 Feb 2015 21:10:49 +0100 Subject: [PATCH] The title in the bookmarklet had several asterisk in the title. This had no use for friendica. --- mod/bookmarklet.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/bookmarklet.php b/mod/bookmarklet.php index 96eb370287..e1759ab655 100644 --- a/mod/bookmarklet.php +++ b/mod/bookmarklet.php @@ -32,7 +32,7 @@ function bookmarklet_content(&$a) { 'visitor' => 'block', 'profile_uid' => local_user(), 'acl_data' => construct_acl_data($a, $a->user), // For non-Javascript ACL selector - 'title' => $_REQUEST["title"], + 'title' => trim($_REQUEST["title"], "*"), 'content' => $content ); $o = status_editor($a,$x, 0, false);