netEmpty is deprecated. Use notBlank instead

This commit is contained in:
Isaac Connor 2019-11-20 09:32:19 -05:00
parent 5feeedf7f4
commit 9d4c802b48
1 changed files with 1 additions and 1 deletions

View File

@ -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,
),