mirror of
https://github.com/Icinga/icingaweb2.git
synced 2026-05-28 04:02:39 -04:00
Load ticket hook for event details
This commit is contained in:
parent
e5af1684a0
commit
893617ef96
1 changed files with 7 additions and 0 deletions
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Reference in a new issue