mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
Fix email widget always failing
This commit is contained in:
parent
d744f3e5c5
commit
014f99c02b
@ -66,7 +66,7 @@ class etemplate_widget_url extends etemplate_widget
|
||||
}
|
||||
break;
|
||||
case 'url-email':
|
||||
$this->attrs['preg'] = '/^('.EMAIL_PREG.')?$/';
|
||||
$this->attrs['preg'] = '/^('.self::EMAIL_PREG.')?$/';
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user