diff --git a/modules/monitoring/application/controllers/EventController.php b/modules/monitoring/application/controllers/EventController.php index b2ecd0754..cdd13dea1 100644 --- a/modules/monitoring/application/controllers/EventController.php +++ b/modules/monitoring/application/controllers/EventController.php @@ -40,6 +40,13 @@ class EventController extends Controller 'dt_end' => 'downtimeevent' ); + public function init() + { + if (Hook::has('ticket')) { + $this->view->tickets = Hook::first('ticket'); + } + } + public function showAction() { $type = $this->params->shiftRequired('type');