mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-06-21 20:19:18 -04:00
Allow national Unicode characters in monitor name (Monitor.php)
This commit is contained in:
@@ -211,7 +211,7 @@ class Monitor extends ZM_Object {
|
||||
|
||||
protected $defaults = array(
|
||||
'Id' => null,
|
||||
'Name' => array('type'=>'text','filter_regexp'=>'/[^\w\-\.\(\)\:\/ ]/', 'default'=>'Monitor'),
|
||||
Name' => array('type'=>'text','filter_regexp'=>'/[^\w\p{L}\-\.\(\)\:\/]+/iu', 'default'=>'Monitor'),
|
||||
'Deleted' => 0,
|
||||
'Notes' => '',
|
||||
'ServerId' => 0,
|
||||
|
||||
Reference in New Issue
Block a user