diff options
author | alecpl <alec@alec.pl> | 2009-05-26 06:16:11 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2009-05-26 06:16:11 +0000 |
commit | 1e487a847fc365e0b86d4ac07501fb6a23f24ba4 (patch) | |
tree | 6712846db30f6cb205d17ff370482ac38b6499bc /plugins | |
parent | 046c53c771e7e2e186663f94952be031c610eb06 (diff) |
- Fix "PHP Fatal error: Call to undefined function check_email" (#1485871)
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/managesieve/managesieve.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/managesieve/managesieve.php b/plugins/managesieve/managesieve.php index ae92ff975..d29ad345e 100644 --- a/plugins/managesieve/managesieve.php +++ b/plugins/managesieve/managesieve.php @@ -367,7 +367,7 @@ class managesieve extends rcube_plugin if ($this->form['actions'][$i]['target'] == '') $this->errors['actions'][$i]['target'] = $this->gettext('cannotbeempty'); - else if (!check_email($this->form['actions'][$i]['target'])) + else if (!$this->check_email($this->form['actions'][$i]['target'])) $this->errors['actions'][$i]['target'] = $this->gettext('noemailwarning'); break; case 'vacation': @@ -382,7 +382,7 @@ class managesieve extends rcube_plugin $address = trim($address); if (!$address) unset($this->form['actions'][$i]['addresses'][$aidx]); - else if(!check_email($address)) { + else if(!$this->check_email($address)) { $this->errors['actions'][$i]['addresses'] = $this->gettext('noemailwarning'); break; } else |