summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--actions/register.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/register.php b/actions/register.php
index d3358cb92..ccf3a50b6 100644
--- a/actions/register.php
+++ b/actions/register.php
@@ -68,7 +68,7 @@ class RegisterAction extends Action {
# checks if *CANONICAL* email exists
function email_exists($email) {
- $email = common_canonicalize_email($email);
+ $email = common_canonical_email($email);
$user = User::staticGet('email', $email);
return ($user !== false);
}