Merge pull request #1369 from annando/1502-title-in-diaspora-bookmarklet

The title in the bookmarklet had several asterisk in the title.
This commit is contained in:
Tobias Diekershoff 2015-02-06 22:03:54 +01:00
commit dea2e66cdf

View file

@ -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);