aboutsummaryrefslogtreecommitdiff
path: root/register.php
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-10-24 12:50:22 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-10-24 12:50:22 +0000
commitfbdfee91da43f3c087013430816497539b891888 (patch)
treeb0d375b9f62c0f1f29572999663ee00642236d40 /register.php
parent2d9f0fcd613aa4f5bf6dd61fdf2d118cbe5e9f1f (diff)
downloadelgg-fbdfee91da43f3c087013430816497539b891888.tar.gz
elgg-fbdfee91da43f3c087013430816497539b891888.tar.bz2
Further additions to the registration form.
git-svn-id: https://code.elgg.org/elgg/trunk@2307 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'register.php')
-rw-r--r--register.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/register.php b/register.php
index 442a798a9..1eb65dc4c 100644
--- a/register.php
+++ b/register.php
@@ -16,9 +16,11 @@
*/
require_once(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();