fix: [user:rearrangeForAPI] Fixed support of metafields

develop-unstable
Sami Mokaddem 2023-02-13 15:13:33 +01:00
parent 2915ced971
commit 25e63b710a
No known key found for this signature in database
GPG Key ID: 164C473F627A06FA
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ class User extends AppModel
if (!empty($this->tags)) {
$this->tags = $this->rearrangeTags($this->tags);
}
if (!empty($this->meta_fields)) {
if (!empty($this->meta_fields) || !empty($this->MetaTemplates)) {
$this->rearrangeMetaFields($options);
}
if (!empty($this->user_settings_by_name)) {