fix: [sharing groups] uuid not logged when saving failed due to invalid variable lookup

pull/7236/head
iglocska 2021-03-22 10:17:29 +01:00
parent f64f4b9efd
commit 02dc2a124d
No known key found for this signature in database
GPG Key ID: BEA224F1FEF113AC
1 changed files with 1 additions and 1 deletions

View File

@ -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;