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