summaryrefslogtreecommitdiffstats
path: root/modules-available/serversetup-bwlp-ipxe/page.inc.php
diff options
context:
space:
mode:
authorSimon Rettberg2019-04-17 15:58:54 +0200
committerSimon Rettberg2019-04-17 15:58:54 +0200
commit6f1e000ff4cdc1041eb3097e3933bf2e683fb735 (patch)
tree377efaaac1d75c21bc60213d0708ccce23d60f45 /modules-available/serversetup-bwlp-ipxe/page.inc.php
parent[*] de: Script -> Skript (diff)
downloadslx-admin-6f1e000ff4cdc1041eb3097e3933bf2e683fb735.tar.gz
slx-admin-6f1e000ff4cdc1041eb3097e3933bf2e683fb735.tar.xz
slx-admin-6f1e000ff4cdc1041eb3097e3933bf2e683fb735.zip
[serversetup-bwlp-ipxe] Show default selection of inherited menu
Diffstat (limited to 'modules-available/serversetup-bwlp-ipxe/page.inc.php')
-rw-r--r--modules-available/serversetup-bwlp-ipxe/page.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/serversetup-bwlp-ipxe/page.inc.php b/modules-available/serversetup-bwlp-ipxe/page.inc.php
index 25122a6c..6a874775 100644
--- a/modules-available/serversetup-bwlp-ipxe/page.inc.php
+++ b/modules-available/serversetup-bwlp-ipxe/page.inc.php
@@ -839,7 +839,7 @@ class Page_ServerSetup extends Page
'locationName' => $loc['locationname'],
];
$menu = IPxeMenu::forLocation($loc['parentlocationid']);
- $data['defaultMenu'] = $menu->title();
+ $data['defaultMenu'] = $menu;
$res = Database::simpleQuery('SELECT m.menuid, m.title, ml.locationid, ml.defaultentryid, GROUP_CONCAT(me.menuentryid) AS entries FROM serversetup_menu m
LEFT JOIN serversetup_menu_location ml ON (m.menuid = ml.menuid AND ml.locationid = :locationid)
INNER JOIN serversetup_menuentry me ON (m.menuid = me.menuid AND me.entryid IS NOT NULL)