Changeset 2536 in subversion


Ignore:
Timestamp:
May 26, 2009 2:16:11 AM (4 years ago)
Author:
alec
Message:
  • Fix "PHP Fatal error: Call to undefined function check_email" (#1485871)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/plugins/managesieve/managesieve.php

    r2511 r2536  
    368368            if ($this->form['actions'][$i]['target'] == '') 
    369369              $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'])) 
    371371              $this->errors['actions'][$i]['target'] = $this->gettext('noemailwarning'); 
    372372          break; 
     
    383383                if (!$address) 
    384384                  unset($this->form['actions'][$i]['addresses'][$aidx]); 
    385                 else if(!check_email($address)) { 
     385                else if(!$this->check_email($address)) { 
    386386                  $this->errors['actions'][$i]['addresses'] = $this->gettext('noemailwarning'); 
    387387                  break; 
Note: See TracChangeset for help on using the changeset viewer.