fix: [galaxy] new logging to catch meta field errors assumed that the user object was available

- [narrator] It wasn't.
pull/7374/head
iglocska 2021-04-26 13:42:25 +02:00
parent e5c567ae91
commit 487cb2d67e
No known key found for this signature in database
GPG Key ID: BEA224F1FEF113AC
1 changed files with 1 additions and 1 deletions

View File

@ -195,7 +195,7 @@ class Galaxy extends AppModel
$this->Log = ClassRegistry::init('Log'); $this->Log = ClassRegistry::init('Log');
$this->Log->create(); $this->Log->create();
$this->Log->save(array( $this->Log->save(array(
'org' => $user['Organisation']['name'], 'org' => 0,
'model' => 'Galaxy', 'model' => 'Galaxy',
'model_id' => 0, 'model_id' => 0,
'email' => 0, 'email' => 0,