mirror of https://github.com/MISP/MISP
fix: [console:EventShell] Fixed parameter parsing and typo
parent
290a2b834f
commit
d84084c11c
|
@ -91,8 +91,8 @@ class EventShell extends AppShell
|
|||
}
|
||||
|
||||
$isXml = $extension === 'xml';
|
||||
$takeOwnership = $this->param('take_ownership');
|
||||
$publish = $this->param('publish');
|
||||
$takeOwnership = $this->params['take-ownership'];
|
||||
$publish = $this->params['publish'];
|
||||
$results = $this->Event->addMISPExportFile($user, $content, $isXml, $takeOwnership, $publish);
|
||||
|
||||
foreach ($results as $result) {
|
||||
|
|
Loading…
Reference in New Issue