aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Settings/Account.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-05-11 19:01:04 -0700
committerzotlabs <mike@macgirvin.com>2017-05-11 19:01:04 -0700
commit1de1b58a087afbadb55b7f18b93fb0b502a2de3a (patch)
tree4ccf01cfea90497acca5f58697653ec734b1cc02 /Zotlabs/Module/Settings/Account.php
parent4f577cbdebea44dfedece4eeddb99138d5f02f65 (diff)
downloadvolse-hubzilla-1de1b58a087afbadb55b7f18b93fb0b502a2de3a.tar.gz
volse-hubzilla-1de1b58a087afbadb55b7f18b93fb0b502a2de3a.tar.bz2
volse-hubzilla-1de1b58a087afbadb55b7f18b93fb0b502a2de3a.zip
consolidate email validation checks
Diffstat (limited to 'Zotlabs/Module/Settings/Account.php')
-rw-r--r--Zotlabs/Module/Settings/Account.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Settings/Account.php b/Zotlabs/Module/Settings/Account.php
index ec176797d..18890e89f 100644
--- a/Zotlabs/Module/Settings/Account.php
+++ b/Zotlabs/Module/Settings/Account.php
@@ -16,7 +16,7 @@ class Account {
$account = \App::get_account();
if($email != $account['account_email']) {
- if(! valid_email($email))
+ if(! validate_email($email))
$errs[] = t('Not valid email.');
$adm = trim(get_config('system','admin_email'));
if(($adm) && (strcasecmp($email,$adm) == 0)) {