diff --git a/app/Model/Attribute.php b/app/Model/Attribute.php index 33d018f60..04d1812da 100644 --- a/app/Model/Attribute.php +++ b/app/Model/Attribute.php @@ -417,8 +417,8 @@ class Attribute extends AppModel { 'message' => 'Options : Payload delivery, Antivirus detection, Payload installation, Files dropped ...' ), 'value' => array( - 'valueNotEmpty' => array( - 'rule' => array('valueNotEmpty'), + 'stringNotEmpty' => array( + 'rule' => array('stringNotEmpty'), ), 'userdefined' => array( 'rule' => array('validateAttributeValue'), diff --git a/app/Model/ShadowAttribute.php b/app/Model/ShadowAttribute.php index 4ccab111f..9fcafbfb9 100644 --- a/app/Model/ShadowAttribute.php +++ b/app/Model/ShadowAttribute.php @@ -102,8 +102,8 @@ class ShadowAttribute extends AppModel { ), ), 'value' => array( - 'valueNotEmpty' => array( - 'rule' => array('valueNotEmpty'), + 'stringNotEmpty' => array( + 'rule' => array('stringNotEmpty'), ), 'userdefined' => array( 'rule' => array('validateAttributeValue'),