From 06b07bb28ed7d72b682b217d4637865b257f566c Mon Sep 17 00:00:00 2001 From: cash Date: Sat, 2 Apr 2011 01:48:20 +0000 Subject: Refs #3233 registration form should be sticky too git-svn-id: http://code.elgg.org/elgg/trunk@8902 36083f99-b078-4883-b0ff-0f9b5a30f544 --- actions/register.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'actions/register.php') diff --git a/actions/register.php b/actions/register.php index 33ee19aee..360b7cb4b 100644 --- a/actions/register.php +++ b/actions/register.php @@ -6,6 +6,8 @@ * @subpackage User.Account */ +elgg_make_sticky_form('register'); + // Get variables $username = get_input('username'); $password = get_input('password'); @@ -28,6 +30,8 @@ if (elgg_get_config('allow_registration')) { $guid = register_user($username, $password, $name, $email, false, $friend_guid, $invitecode); if ($guid) { + elgg_clear_sticky_form('register'); + $new_user = get_entity($guid); // allow plugins to respond to self registration -- cgit v1.2.3