diff --git a/app/Model/Attribute.php b/app/Model/Attribute.php index 9da42bb1b..623de9658 100644 --- a/app/Model/Attribute.php +++ b/app/Model/Attribute.php @@ -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; }