diff options
author | Simon Rettberg | 2020-08-13 10:09:21 +0200 |
---|---|---|
committer | Simon Rettberg | 2020-08-13 10:09:21 +0200 |
commit | 65bdfca70adb1f151b7d396285f95562383bcc8a (patch) | |
tree | 698e7ef38aa52e9066116c666a0043e0070fab90 /modules-available/serversetup-bwlp-ipxe | |
parent | [serversetup-bwlp-ipxe] Show all machines in Localboot override list (diff) | |
download | slx-admin-65bdfca70adb1f151b7d396285f95562383bcc8a.tar.gz slx-admin-65bdfca70adb1f151b7d396285f95562383bcc8a.tar.xz slx-admin-65bdfca70adb1f151b7d396285f95562383bcc8a.zip |
[serversetup-bwlp-ipxe] Use single quotes in SQL
Diffstat (limited to 'modules-available/serversetup-bwlp-ipxe')
-rw-r--r-- | modules-available/serversetup-bwlp-ipxe/page.inc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules-available/serversetup-bwlp-ipxe/page.inc.php b/modules-available/serversetup-bwlp-ipxe/page.inc.php index 1165d641..2f644412 100644 --- a/modules-available/serversetup-bwlp-ipxe/page.inc.php +++ b/modules-available/serversetup-bwlp-ipxe/page.inc.php @@ -872,8 +872,8 @@ class Page_ServerSetup extends Page // New or update? if (empty($oldEntryId)) { // New entry - Database::exec('INSERT INTO serversetup_bootentry (entryid, title, hotkey, builtin, module, data) - VALUES (:entryid, :title, "", 0, :module, :data)', $params); + Database::exec("INSERT INTO serversetup_bootentry (entryid, title, hotkey, builtin, module, data) + VALUES (:entryid, :title, '', 0, :module, :data)", $params); Message::addSuccess('boot-entry-created', $newId); } else { // Edit existing entry |