mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
helpers/widget: options are opional
This commit is contained in:
parent
dbf03ee647
commit
617741c62f
@ -9,7 +9,7 @@ $this->addHelperFunction('auth', function () {
|
||||
return Manager::getInstance();
|
||||
});
|
||||
|
||||
$this->addHelperFunction('widget', function ($name, $options) {
|
||||
$this->addHelperFunction('widget', function ($name, $options = null) {
|
||||
return Widget::create($name, $options);
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user