mirror of https://github.com/MISP/MISP
Fix to removing the root element causing issues with pivoting
parent
22593b2378
commit
5d25348780
|
@ -303,6 +303,7 @@ class EventsController extends AppController {
|
|||
if ($pivot['id'] == $id) {
|
||||
$pivot = null;
|
||||
$this->Session->write('pivot_thread', null);
|
||||
$this->redirect(array('controller' => 'events', 'action' => 'view', $eventId));
|
||||
} else {
|
||||
$pivot = $this->__doRemove($pivot, $id);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue