mirror of https://github.com/MISP/MISP
fix: [sharing groups] uuid not logged when saving failed due to invalid variable lookup
parent
f64f4b9efd
commit
02dc2a124d
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue