From 02dc2a124d43c1588dee75d4cbab5229cb45312b Mon Sep 17 00:00:00 2001 From: iglocska Date: Mon, 22 Mar 2021 10:17:29 +0100 Subject: [PATCH] fix: [sharing groups] uuid not logged when saving failed due to invalid variable lookup --- app/Model/SharingGroup.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Model/SharingGroup.php b/app/Model/SharingGroup.php index 057a49f71..b4c1f0b77 100644 --- a/app/Model/SharingGroup.php +++ b/app/Model/SharingGroup.php @@ -705,7 +705,7 @@ class SharingGroup extends AppModel 'email' => $user['email'], 'action' => 'error', 'user_id' => $user['id'], - 'title' => "Tried to save a sharing group with UUID '{$sg['SharingGroup']['uuid']}' but the user does not belong to it." + 'title' => "Tried to save a sharing group with UUID '{$sg['uuid']}' but the user does not belong to it." ); $this->Log->save($entry); return false;