diff options
Diffstat (limited to 'account')
-rw-r--r-- | account/register.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/account/register.php b/account/register.php index 474e6edc6..ff03c7d70 100644 --- a/account/register.php +++ b/account/register.php @@ -17,10 +17,11 @@ require_once(dirname(dirname(__FILE__)) . "/engine/start.php");
$friend_guid = (int) get_input('friend_guid',0);
+ $invitecode = get_input('invitecode');
// If we're not logged in, display the registration page
if (!isloggedin()) {
- echo page_draw(elgg_echo('register'), elgg_view("account/forms/register", array('friend_guid' => $friend_guid)));
+ echo page_draw(elgg_echo('register'), elgg_view("account/forms/register", array('friend_guid' => $friend_guid, 'invitecode' => $invitecode)));
// Otherwise, forward to the index page
} else {
forward();
|