photo driver issue when updating contact photos - old class structure used instead of photo_factory()

This commit is contained in:
friendica
2013-05-05 22:49:46 -07:00
parent 175f30d7cc
commit 524f205caa
3 changed files with 7 additions and 5 deletions

View File

@@ -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.');
}
}