summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2019-10-29 15:17:29 +0100
committerSimon Rettberg2019-10-29 15:17:29 +0100
commit290cdba43945a93192ae4b05f8b3a69541addf8d (patch)
tree1d7d265e25a8cabd3d3f340f0750c81b1870732c
parent[serversetup-bwlp-ipxe] Update default menu entries (diff)
downloadslx-admin-290cdba43945a93192ae4b05f8b3a69541addf8d.tar.gz
slx-admin-290cdba43945a93192ae4b05f8b3a69541addf8d.tar.xz
slx-admin-290cdba43945a93192ae4b05f8b3a69541addf8d.zip
[serversetup-bwlp-ipxe] Fix query accordingly :-/
-rw-r--r--modules-available/serversetup-bwlp-ipxe/inc/ipxe.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules-available/serversetup-bwlp-ipxe/inc/ipxe.inc.php b/modules-available/serversetup-bwlp-ipxe/inc/ipxe.inc.php
index 0e03f195..a8cfc265 100644
--- a/modules-available/serversetup-bwlp-ipxe/inc/ipxe.inc.php
+++ b/modules-available/serversetup-bwlp-ipxe/inc/ipxe.inc.php
@@ -332,8 +332,8 @@ class IPxe
public static function createDefaultEntries()
{
- $query = 'INSERT IGNORE INTO serversetup_bootentry (entryid, hotkey, title, builtin, data)
- VALUES (:entryid, :hotkey, :title, 1, :data) ON DUPLICATE KEY UPDATE data = VALUES(data)';
+ $query = 'INSERT IGNORE INTO serversetup_bootentry (entryid, hotkey, title, builtin, module, data)
+ VALUES (:entryid, :hotkey, :title, 1, :module, :data) ON DUPLICATE KEY UPDATE data = VALUES(data)';
Database::exec($query,
[
'entryid' => 'bwlp-default',