mirror of https://github.com/MISP/MISP
redirects to filtered events page upon delete
parent
4388d18ba1
commit
2334599f3d
|
@ -746,7 +746,7 @@ class EventsController extends AppController {
|
|||
//}
|
||||
|
||||
$this->Session->setFlash(__('Event deleted'));
|
||||
$this->redirect(array('action' => 'index'));
|
||||
$this->redirect($this->referer(array('action' => 'index')));
|
||||
}
|
||||
$this->Session->setFlash(__('Event was not deleted'));
|
||||
$this->redirect(array('action' => 'index'));
|
||||
|
|
Loading…
Reference in New Issue