summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2020-04-21 18:31:32 +0200
committerSimon Rettberg2020-05-07 12:44:16 +0200
commit81b138cb3d3cf989bdfcc483171b65ff762e1f91 (patch)
tree376960c14e35289986da533639f023487462177d
parent[serversetup-bwlp-ipxe] Fix: Imported PXELINUX entries are invalid (diff)
downloadslx-admin-81b138cb3d3cf989bdfcc483171b65ff762e1f91.tar.gz
slx-admin-81b138cb3d3cf989bdfcc483171b65ff762e1f91.tar.xz
slx-admin-81b138cb3d3cf989bdfcc483171b65ff762e1f91.zip
[locations] Add missing array key
-rw-r--r--modules-available/locations/inc/location.inc.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules-available/locations/inc/location.inc.php b/modules-available/locations/inc/location.inc.php
index 30f4b1c1..700edaf8 100644
--- a/modules-available/locations/inc/location.inc.php
+++ b/modules-available/locations/inc/location.inc.php
@@ -157,7 +157,8 @@ class Location
array_unshift($rows, array(
'locationid' => 0,
'locationname' => '-----',
- 'selected' => $selected === 0
+ 'selected' => $selected === 0,
+ 'locationpad' => '',
));
}
if ($keepArrayKeys)