fix: [attributes] type field added to editable fields

pull/9438/head
iglocska 2023-11-29 11:25:41 +01:00
parent b5437eda1d
commit b38878b963
No known key found for this signature in database
GPG Key ID: BEA224F1FEF113AC
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}