diff options
author | Simon Rettberg | 2024-01-15 13:45:12 +0100 |
---|---|---|
committer | Simon Rettberg | 2024-01-15 13:45:12 +0100 |
commit | 6bcb2c85fa5e0eb4767c95a42f7e15a60a737f63 (patch) | |
tree | 6acbf20f9443db43d9c0cf419ca4c761beac3e9b /modules-available | |
parent | [serversetup-bwlp-ipxe] Move PXELinux classes to own files (diff) | |
download | slx-admin-6bcb2c85fa5e0eb4767c95a42f7e15a60a737f63.tar.gz slx-admin-6bcb2c85fa5e0eb4767c95a42f7e15a60a737f63.tar.xz slx-admin-6bcb2c85fa5e0eb4767c95a42f7e15a60a737f63.zip |
[serversetup-bwlp-ipxe] Call parent constructor IPxeMenu
Diffstat (limited to 'modules-available')
-rw-r--r-- | modules-available/serversetup-bwlp-ipxe/inc/ipxemenu.inc.php | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/modules-available/serversetup-bwlp-ipxe/inc/ipxemenu.inc.php b/modules-available/serversetup-bwlp-ipxe/inc/ipxemenu.inc.php index ddbce00d..3ffecba1 100644 --- a/modules-available/serversetup-bwlp-ipxe/inc/ipxemenu.inc.php +++ b/modules-available/serversetup-bwlp-ipxe/inc/ipxemenu.inc.php @@ -200,11 +200,14 @@ class IPxeMenu class EmptyIPxeMenu extends IPxeMenu { - /** @noinspection PhpMissingParentConstructorInspection */ public function __construct() { - $this->title = 'No menu defined'; - $this->menuid = -1; + parent::__construct([ + 'menuid' => -1, + 'timeoutms' => 120, + 'defaultentryid' => null, + 'title' => 'No menu defined', + ]); $this->items[] = new MenuEntry([ 'title' => 'Please create a menu in Server-Setup first' ]); |