aboutsummaryrefslogtreecommitdiffstats
path: root/include/account.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/account.php')
-rw-r--r--include/account.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/account.php b/include/account.php
index 72d44d9ca..1572583c7 100644
--- a/include/account.php
+++ b/include/account.php
@@ -26,7 +26,7 @@ function check_account_email($email) {
$r = q("select account_email from account where account_email = '%s' limit 1",
dbesc($email)
);
- if(count($r)) {
+ if($r) {
$result['message'] .= t('Your email address is already registered at this site.');
}
}