mirror of https://github.com/MISP/MISP
fix: [attributes] type field added to editable fields
parent
b5437eda1d
commit
b38878b963
|
@ -54,6 +54,7 @@ class Attribute extends AppModel
|
|||
const EDITABLE_FIELDS = [
|
||||
'timestamp',
|
||||
'category',
|
||||
'type',
|
||||
'value',
|
||||
'value1',
|
||||
'value2',
|
||||
|
@ -620,7 +621,6 @@ class Attribute extends AppModel
|
|||
}
|
||||
|
||||
$attribute = $this->beforeValidateMassage($attribute);
|
||||
|
||||
// return true, otherwise the object cannot be saved
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue