From 82b11b576b80d6667c6ef08466bde38bff68b5d7 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Mon, 23 Oct 2023 15:32:39 +0200 Subject: [serversetup-bwlp-ipxe] Fix missing column in query --- modules-available/serversetup-bwlp-ipxe/inc/bootentry.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules-available/serversetup-bwlp-ipxe/inc/bootentry.inc.php b/modules-available/serversetup-bwlp-ipxe/inc/bootentry.inc.php index eb57c596..2abb5153 100644 --- a/modules-available/serversetup-bwlp-ipxe/inc/bootentry.inc.php +++ b/modules-available/serversetup-bwlp-ipxe/inc/bootentry.inc.php @@ -47,7 +47,7 @@ abstract class BootEntry * Return a BootEntry instance from the serialized data. * * @param string $module module this entry belongs to, or special values .script/.exec - * @param string $jsonString serialized entry data + * @param string $data serialized entry data * @return BootEntry|null instance representing boot entry, null on error */ public static function fromJson($module, $data) @@ -134,7 +134,7 @@ abstract class BootEntry */ public static function getAll() { - $res = Database::simpleQuery("SELECT entryid, data FROM serversetup_bootentry"); + $res = Database::simpleQuery("SELECT entryid, module, data FROM serversetup_bootentry"); $ret = []; foreach ($res as $row) { $tmp = self::fromJson($row['module'], $row['data']); -- cgit v1.2.3-55-g7522