aboutsummaryrefslogtreecommitdiff
path: root/views/default/account/forms
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/account/forms')
-rw-r--r--views/default/account/forms/register.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/views/default/account/forms/register.php b/views/default/account/forms/register.php
index b099ce8bf..cbc29f52b 100644
--- a/views/default/account/forms/register.php
+++ b/views/default/account/forms/register.php
@@ -29,7 +29,8 @@
if ($admin_option)
$form_body .= elgg_view('input/checkboxes', array('internalname' => "admin", 'options' => array(elgg_echo('admin_option'))));
- $form_body .= elgg_view('input/hidden', array('internalname' => 'friend_guid', 'value' => $vars['friend_guid']));
+ $form_body .= elgg_view('input/hidden', array('internalname' => 'friend_guid', 'value' => $vars['friend_guid']));
+ $form_body .= elgg_view('input/hidden', array('internalname' => 'invitecode', 'value' => $vars['invitecode']));
$form_body .= elgg_view('input/hidden', array('internalname' => 'action', 'value' => 'register'));
$form_body .= elgg_view('input/submit', array('internalname' => 'submit', 'value' => elgg_echo('register'))) . "</p>";
?>