typo from previous checkin and partial fix to hubzilla #965 - show any connection without comment permission as archived in contact_block().

This commit is contained in:
zotlabs
2018-01-26 13:42:53 -08:00
parent d70c42b495
commit 4eead1c688
2 changed files with 9 additions and 2 deletions

View File

@@ -266,7 +266,7 @@ function verify_email_address($arr) {
$email = $arr['email'];
$a = q("select * from account where account_email = '%s' limit 1",
dbesc($arr['email'])
}
);
if(! ($a && ($a[0]['account_flags'] & ACCOUNT_UNVERIFIED))) {
return false;
}