summaryrefslogtreecommitdiffstats
path: root/modules-available/serversetup-bwlp-ipxe
diff options
context:
space:
mode:
authorSimon Rettberg2022-05-02 15:22:55 +0200
committerSimon Rettberg2022-05-02 15:22:55 +0200
commit5f9bec88da3025c309c554987a2b8dc511451a58 (patch)
tree9ff3e2c3281492fd336a172f4cf289bf9647301e /modules-available/serversetup-bwlp-ipxe
parent[serversetup-bwlp-ipxe] Force default boot entry to MiniLinux for dedicated P... (diff)
downloadslx-admin-5f9bec88da3025c309c554987a2b8dc511451a58.tar.gz
slx-admin-5f9bec88da3025c309c554987a2b8dc511451a58.tar.xz
slx-admin-5f9bec88da3025c309c554987a2b8dc511451a58.zip
[serversetup-bwlp-ipxe] Fix array access
Diffstat (limited to 'modules-available/serversetup-bwlp-ipxe')
-rw-r--r--modules-available/serversetup-bwlp-ipxe/inc/bootentry.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/serversetup-bwlp-ipxe/inc/bootentry.inc.php b/modules-available/serversetup-bwlp-ipxe/inc/bootentry.inc.php
index 0212e061..eb57c596 100644
--- a/modules-available/serversetup-bwlp-ipxe/inc/bootentry.inc.php
+++ b/modules-available/serversetup-bwlp-ipxe/inc/bootentry.inc.php
@@ -397,8 +397,8 @@ class SpecialBootEntry extends BootEntry
public function __construct($type)
{
- parent::__construct('special-' . $type);
$this->type = $type['type'] ?? $type;
+ parent::__construct('special-' . $this->type);
}
public function supportsMode($mode)