]> git.mxchange.org Git - friendica.git/commitdiff
The title in the bookmarklet had several asterisk in the title. This had no use for...
authorMichael Vogel <icarus@dabo.de>
Fri, 6 Feb 2015 20:10:49 +0000 (21:10 +0100)
committerMichael Vogel <icarus@dabo.de>
Fri, 6 Feb 2015 20:10:49 +0000 (21:10 +0100)
mod/bookmarklet.php

index 96eb3702879736add9690bb20b5e94db27af8aaa..e1759ab6556105b3622425fcfa9feec1f56b9a18 100644 (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);