aboutsummaryrefslogtreecommitdiffstats
path: root/include/account.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-05-05 22:49:46 -0700
committerfriendica <info@friendica.com>2013-05-05 22:49:46 -0700
commit524f205caa1fc95371acaed95c4af12ec4dd7745 (patch)
tree0255a161ed3182bb23e65a3db3adaa25cbe036cd /include/account.php
parent175f30d7cc287412bc2555bc17c158a3af231dad (diff)
downloadvolse-hubzilla-524f205caa1fc95371acaed95c4af12ec4dd7745.tar.gz
volse-hubzilla-524f205caa1fc95371acaed95c4af12ec4dd7745.tar.bz2
volse-hubzilla-524f205caa1fc95371acaed95c4af12ec4dd7745.zip
photo driver issue when updating contact photos - old class structure used instead of photo_factory()
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.');
}
}