alecpl
2009-05-26 1e487a847fc365e0b86d4ac07501fb6a23f24ba4
plugins/managesieve/managesieve.php
@@ -367,7 +367,7 @@
           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 @@
      $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