diff --git a/src/Model/Entity/User.php b/src/Model/Entity/User.php index 31437d8..bcb7e38 100644 --- a/src/Model/Entity/User.php +++ b/src/Model/Entity/User.php @@ -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)) {