fix: [component:CRUD] Fixed typo massageMetaFields

pull/93/head
Sami Mokaddem 2022-03-01 14:07:20 +01:00
parent 0fb03aae91
commit f8c8bbcb0b
No known key found for this signature in database
GPG Key ID: 164C473F627A06FA
1 changed files with 1 additions and 1 deletions

View File

@ -364,7 +364,7 @@ class CRUDComponent extends Component
// prune empty values and marshall fields
public function massageMetaFields($entity, $input, $allMetaTemplates=[])
{
if (empty($input['MetaTemplates'] || !$this->metaFieldsSupported())) {
if (empty($input['MetaTemplates']) || !$this->metaFieldsSupported()) {
return ['entity' => $entity, 'metafields_to_delete' => []];
}