diff options
author | Simon Rettberg | 2019-03-21 11:24:26 +0100 |
---|---|---|
committer | Simon Rettberg | 2019-03-21 11:24:26 +0100 |
commit | 57a3b41b40890a5aee5cb3b5103014d6e144ca67 (patch) | |
tree | 4e8f0e3ee84b07eee43b0e291ad1d7087aaf2c8b /modules-available/serversetup-bwlp-ipxe/inc | |
parent | [serversetup-bwlp-ipxe] Much better dup detection on import (diff) | |
download | slx-admin-57a3b41b40890a5aee5cb3b5103014d6e144ca67.tar.gz slx-admin-57a3b41b40890a5aee5cb3b5103014d6e144ca67.tar.xz slx-admin-57a3b41b40890a5aee5cb3b5103014d6e144ca67.zip |
[serversetup-bwlp-ipxe] Fix stdbootentry edit; fix duplicate id in html
Diffstat (limited to 'modules-available/serversetup-bwlp-ipxe/inc')
-rw-r--r-- | modules-available/serversetup-bwlp-ipxe/inc/bootentry.inc.php | 4 |
1 files changed, 3 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 2353c0e9..130bb52b 100644 --- a/modules-available/serversetup-bwlp-ipxe/inc/bootentry.inc.php +++ b/modules-available/serversetup-bwlp-ipxe/inc/bootentry.inc.php @@ -62,8 +62,10 @@ abstract class BootEntry $list[] = StandardBootEntry::EFI; } foreach ($list as $mode) { - if (empty($ret->toArray()['executable'][$mode])) + if (empty($ret->toArray()['executable'][$mode])) { + error_log('Incomplete stdbot: ' . print_r($initData, true)); return null; + } } return $ret; } |