Add a filter_regexp to Monitor Name

This commit is contained in:
Isaac Connor 2020-04-10 12:16:32 -04:00
parent fb70acdf6c
commit 81ed022d5a
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ class Monitor extends ZM_Object {
protected $defaults = array( protected $defaults = array(
'Id' => null, 'Id' => null,
'Name' => '', 'Name' => array('type'=>'text','filter_regexp'=>'/[^\w\-\.\(\)\:\/ ]/'),
'Notes' => '', 'Notes' => '',
'ServerId' => 0, 'ServerId' => 0,
'StorageId' => 0, 'StorageId' => 0,