From c61bb08766a3f9e7a060841d5a132e2b4c6e092e Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Wed, 13 Dec 2023 12:26:00 +0100 Subject: [sysconfig] Fix invalid array key access --- modules-available/sysconfig/hooks/locations-column.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules-available') 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) { -- cgit v1.2.3-55-g7522