From 8ed396d88d54fc7840f1d3725df08b781972ebfe Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sat, 22 Jul 2006 03:16:09 +0000 Subject: [PATCH] r927: Fixing another bug in the User API --- includes/api_user.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/api_user.php b/includes/api_user.php index 1d8e694..699f5a7 100644 --- a/includes/api_user.php +++ b/includes/api_user.php @@ -125,7 +125,7 @@ class UserAPI extends API return $ne; } - if ($this->registry->funct->is_valid_email($this->values['email'])) + if (!$this->registry->funct->is_valid_email($this->values['email'])) { return $this->registry->lang->string('The specified email is invalid.'); } -- 2.22.5