netEmpty is deprecated. Use notBlank instead
This commit is contained in:
parent
5feeedf7f4
commit
9d4c802b48
|
@ -50,7 +50,7 @@ class Monitor extends AppModel {
|
|||
'Name' => array(
|
||||
'required' => array(
|
||||
'on' => 'create',
|
||||
'rule' => 'notEmpty',
|
||||
'rule' => 'notBlank',
|
||||
'message' => 'Monitor Name must be specified for creation',
|
||||
'required' => true,
|
||||
),
|
||||
|
|
Loading…
Reference in New Issue