mirror of https://github.com/MISP/MISP
fix: Don't show an empty error when there is no error
parent
778aaf2364
commit
e934eede67
|
@ -5160,8 +5160,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