diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-19 04:26:06 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-19 04:26:06 +0000 |
commit | 7d01d5552f55da30116afa66dcbf64ce074504e2 (patch) | |
tree | 550353ff44933ccff23d10548b9b62a639a8b431 /mod/bookmarks/actions | |
parent | 11ed046baa3e2936a5ba85194cf0246addd943a5 (diff) | |
download | elgg-7d01d5552f55da30116afa66dcbf64ce074504e2.tar.gz elgg-7d01d5552f55da30116afa66dcbf64ce074504e2.tar.bz2 |
sticky form wasn't being cleared in bookmarks - that's fixed now
git-svn-id: http://code.elgg.org/elgg/trunk@8318 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/bookmarks/actions')
-rw-r--r-- | mod/bookmarks/actions/bookmarks/save.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mod/bookmarks/actions/bookmarks/save.php b/mod/bookmarks/actions/bookmarks/save.php index abb60314a..b0b9fc9c4 100644 --- a/mod/bookmarks/actions/bookmarks/save.php +++ b/mod/bookmarks/actions/bookmarks/save.php @@ -7,8 +7,6 @@ gatekeeper(); -elgg_make_sticky_form('bookmarks'); - $title = strip_tags(get_input('title')); $description = get_input('description'); $address = get_input('address'); @@ -45,6 +43,9 @@ $bookmark->access_id = $access_id; $bookmark->tags = $tagarray; if ($bookmark->save()) { + + elgg_clear_sticky_form(); + // @todo if (is_array($shares) && sizeof($shares) > 0) { foreach($shares as $share) { |