aboutsummaryrefslogtreecommitdiff
path: root/mod/bookmarks
diff options
context:
space:
mode:
Diffstat (limited to 'mod/bookmarks')
-rw-r--r--mod/bookmarks/actions/bookmarks/save.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/mod/bookmarks/actions/bookmarks/save.php b/mod/bookmarks/actions/bookmarks/save.php
index b01f9b6d0..02280838d 100644
--- a/mod/bookmarks/actions/bookmarks/save.php
+++ b/mod/bookmarks/actions/bookmarks/save.php
@@ -16,6 +16,8 @@ $guid = get_input('guid');
$share = get_input('share');
$container_guid = get_input('container_guid', elgg_get_logged_in_user_guid());
+elgg_make_sticky_form('bookmarks');
+
$normalized = elgg_normalize_url($address);
// slight hack. If the original link wasn't to this site, they probably didn't mean to post
@@ -57,7 +59,7 @@ $bookmark->tags = $tagarray;
if ($bookmark->save()) {
- elgg_clear_sticky_form();
+ elgg_clear_sticky_form('bookmarks');
// @todo
if (is_array($shares) && sizeof($shares) > 0) {