mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
Load ticket hook for event details
This commit is contained in:
parent
e5af1684a0
commit
893617ef96
@ -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…
x
Reference in New Issue
Block a user