From 524f205caa1fc95371acaed95c4af12ec4dd7745 Mon Sep 17 00:00:00 2001 From: friendica Date: Sun, 5 May 2013 22:49:46 -0700 Subject: photo driver issue when updating contact photos - old class structure used instead of photo_factory() --- include/account.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/account.php') 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.'); } } -- cgit v1.2.3