aboutsummaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorPaweł Sroka <srokap@gmail.com>2013-06-07 02:37:06 +0200
committerCash Costello <cash.costello@gmail.com>2013-06-07 18:16:44 -0400
commit50ca9866486b27defa3b327f0b501ee316a5efeb (patch)
tree0bcd46a9fe2679ea1052427ce127b982db1f2cd2 /actions
parentffb77c888d4016bb4d9e1499efe4d8ed363db18e (diff)
downloadelgg-50ca9866486b27defa3b327f0b501ee316a5efeb.tar.gz
elgg-50ca9866486b27defa3b327f0b501ee316a5efeb.tar.bz2
Fixes #5587 - Makes profile edit form sticky
Diffstat (limited to 'actions')
-rw-r--r--actions/profile/edit.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/actions/profile/edit.php b/actions/profile/edit.php
index b817463ac..c2a124309 100644
--- a/actions/profile/edit.php
+++ b/actions/profile/edit.php
@@ -4,6 +4,8 @@
*
*/
+elgg_make_sticky_form('profile:edit');
+
$guid = get_input('guid');
$owner = get_entity($guid);
@@ -107,6 +109,7 @@ if (sizeof($input) > 0) {
// Notify of profile update
elgg_trigger_event('profileupdate', $owner->type, $owner);
+ elgg_clear_sticky_form('profile:edit');
system_message(elgg_echo("profile:saved"));
}