mirror of https://github.com/MISP/MISP
fix: valueNotEmpty() switched to stringNotEmpty for the attribute value validation
- Core 1+2 of the new laptoppull/3144/head
parent
403f904a80
commit
025b2a4e5d
|
@ -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'),
|
||||
|
|
|
@ -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'),
|
||||
|
|
Loading…
Reference in New Issue