Add a filter_regexp to Monitor Name
This commit is contained in:
parent
fb70acdf6c
commit
81ed022d5a
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue