From f3ee43ed464e1e8e3ac36316656e94cff4c6b96e Mon Sep 17 00:00:00 2001 From: Sami Mokaddem Date: Thu, 8 Dec 2022 10:24:09 +0100 Subject: [PATCH] chg: [user:NotifyAdminBehavior] Track modification on meta_fields --- src/Model/Table/UsersTable.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Model/Table/UsersTable.php b/src/Model/Table/UsersTable.php index e96f709..1aae5c2 100644 --- a/src/Model/Table/UsersTable.php +++ b/src/Model/Table/UsersTable.php @@ -26,7 +26,7 @@ class UsersTable extends AppTable $this->addBehavior('MetaFields'); $this->addBehavior('AuditLog'); $this->addBehavior('NotifyAdmins', [ - 'fields' => ['role_id', 'individual_id', 'organisation_id', 'disabled', 'modified'], + 'fields' => ['role_id', 'individual_id', 'organisation_id', 'disabled', 'modified', 'meta_fields'], ]); $this->initAuthBehaviors(); $this->belongsTo(