From b38878b963cdfc4fc578414443571346c818227e Mon Sep 17 00:00:00 2001 From: iglocska Date: Wed, 29 Nov 2023 11:25:41 +0100 Subject: [PATCH] fix: [attributes] type field added to editable fields --- app/Model/Attribute.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }