aboutsummaryrefslogtreecommitdiff
path: root/pages/account/register.php
diff options
context:
space:
mode:
Diffstat (limited to 'pages/account/register.php')
-rw-r--r--pages/account/register.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/pages/account/register.php b/pages/account/register.php
index 680a9f240..58544ef49 100644
--- a/pages/account/register.php
+++ b/pages/account/register.php
@@ -22,7 +22,7 @@ $friend_guid = (int) get_input('friend_guid', 0);
$invitecode = get_input('invitecode');
// only logged out people need to register
-if (isloggedin()) {
+if (elgg_is_logged_in()) {
forward();
}