summaryrefslogtreecommitdiffstats
path: root/modules-available
diff options
context:
space:
mode:
authorSimon Rettberg2023-12-13 12:26:00 +0100
committerSimon Rettberg2023-12-13 12:26:00 +0100
commitc61bb08766a3f9e7a060841d5a132e2b4c6e092e (patch)
treed62a41850ee1eff4abb583233a27ed1a61b5271c /modules-available
parent[adduser] Fix typo (diff)
downloadslx-admin-c61bb08766a3f9e7a060841d5a132e2b4c6e092e.tar.gz
slx-admin-c61bb08766a3f9e7a060841d5a132e2b4c6e092e.tar.xz
slx-admin-c61bb08766a3f9e7a060841d5a132e2b4c6e092e.zip
[sysconfig] Fix invalid array key access
Diffstat (limited to 'modules-available')
-rw-r--r--modules-available/sysconfig/hooks/locations-column.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/sysconfig/hooks/locations-column.inc.php b/modules-available/sysconfig/hooks/locations-column.inc.php
index f60a852d..8042b51c 100644
--- a/modules-available/sysconfig/hooks/locations-column.inc.php
+++ b/modules-available/sysconfig/hooks/locations-column.inc.php
@@ -12,7 +12,7 @@ class SysconfigLocationColumn extends AbstractLocationColumn
{
$confs = SysConfig::getAll();
foreach ($confs as $conf) {
- if (strlen($conf['locs']) === 0)
+ if (!isset($conf['locs']) || strlen($conf['locs']) === 0)
continue;
$confLocs = explode(',', $conf['locs']);
foreach ($confLocs as $locId) {