mirror of https://github.com/MISP/MISP
fix: [galaxy] new logging to catch meta field errors assumed that the user object was available
- [narrator] It wasn't.pull/7374/head
parent
e5c567ae91
commit
487cb2d67e
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue