mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-14 18:08:21 +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