From 5f9bec88da3025c309c554987a2b8dc511451a58 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Mon, 2 May 2022 15:22:55 +0200 Subject: [serversetup-bwlp-ipxe] Fix array access --- modules-available/serversetup-bwlp-ipxe/inc/bootentry.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules-available/serversetup-bwlp-ipxe/inc/bootentry.inc.php') 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) -- cgit v1.2.3-55-g7522