Changeset 2536 in subversion
- Timestamp:
- May 26, 2009 2:16:11 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/plugins/managesieve/managesieve.php
r2511 r2536 368 368 if ($this->form['actions'][$i]['target'] == '') 369 369 $this->errors['actions'][$i]['target'] = $this->gettext('cannotbeempty'); 370 else if (! check_email($this->form['actions'][$i]['target']))370 else if (!$this->check_email($this->form['actions'][$i]['target'])) 371 371 $this->errors['actions'][$i]['target'] = $this->gettext('noemailwarning'); 372 372 break; … … 383 383 if (!$address) 384 384 unset($this->form['actions'][$i]['addresses'][$aidx]); 385 else if(! check_email($address)) {385 else if(!$this->check_email($address)) { 386 386 $this->errors['actions'][$i]['addresses'] = $this->gettext('noemailwarning'); 387 387 break;
Note: See TracChangeset
for help on using the changeset viewer.
