mirror of https://github.com/MISP/MISP
Merge pull request #5464 from zaphodef/fix/empty_error_panel
fix: Don't show an empty error when there is no errorpull/5470/head
commit
45d88bb9ef
|
@ -5157,8 +5157,9 @@ class EventsController extends AppController
|
|||
$this->set('importComment', $importComment);
|
||||
$this->render($render_name);
|
||||
}
|
||||
} else {
|
||||
$this->Flash->error($fail);
|
||||
}
|
||||
$this->Flash->error($fail);
|
||||
}
|
||||
$this->set('configTypes', $this->Module->configTypes);
|
||||
$this->set('module', $module);
|
||||
|
|
Loading…
Reference in New Issue