diff options
author | friendica <info@friendica.com> | 2012-08-16 05:13:51 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-08-16 05:13:51 -0700 |
commit | d78d6a2e663ad3e71c21c1207411a7bcd704163c (patch) | |
tree | fd7242df3dd68070f11b8a3cab776e0b02eff555 /include/account.php | |
parent | 5c8d854d7d0fb1dbd5454ab41cf9722de2e4ec17 (diff) | |
download | volse-hubzilla-d78d6a2e663ad3e71c21c1207411a7bcd704163c.tar.gz volse-hubzilla-d78d6a2e663ad3e71c21c1207411a7bcd704163c.tar.bz2 volse-hubzilla-d78d6a2e663ad3e71c21c1207411a7bcd704163c.zip |
reversed error logic
Diffstat (limited to 'include/account.php')
-rw-r--r-- | include/account.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/account.php b/include/account.php index e978e64b0..283a7a8dc 100644 --- a/include/account.php +++ b/include/account.php @@ -97,7 +97,7 @@ function create_account($arr) { } $invite_result = check_account_invite($invite_code); - if(! $invite_result['error']) { + if($invite_result['error']) { $result['message'] = $invite_result['message']; return $result; } @@ -105,14 +105,14 @@ function create_account($arr) { $email_result = check_account_email($email); - if(! $email_result['error']) { + if($email_result['error']) { $result['message'] = $email_result['message']; return $result; } $password_result = check_account_password($password); - if(! $password_result['error']) { + if($password_result['error']) { $result['message'] = $password_result['message']; return $result; } |