diff options
author | Simon Rettberg | 2016-07-12 17:18:32 +0200 |
---|---|---|
committer | Simon Rettberg | 2016-07-12 17:18:32 +0200 |
commit | 51e8c7f5e3841694a56d33dcc04c3116d8199bed (patch) | |
tree | b5b2bad938f29bfd11d6db612cc5532d56c1bd3c /modules-available/locations | |
parent | [locations] Fix determining global sysconfig (diff) | |
download | slx-admin-51e8c7f5e3841694a56d33dcc04c3116d8199bed.tar.gz slx-admin-51e8c7f5e3841694a56d33dcc04c3116d8199bed.tar.xz slx-admin-51e8c7f5e3841694a56d33dcc04c3116d8199bed.zip |
Fix fix
Diffstat (limited to 'modules-available/locations')
-rw-r--r-- | modules-available/locations/page.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/locations/page.inc.php b/modules-available/locations/page.inc.php index f43f9090..464c4c95 100644 --- a/modules-available/locations/page.inc.php +++ b/modules-available/locations/page.inc.php @@ -321,7 +321,7 @@ class Page_Locations extends Page if (Module::isAvailable('sysconfig')) { $confs = SysConfig::getAll(); foreach ($confs as $conf) { - if (empty($conf['locs'])) + if (strlen($conf['locs']) === 0) continue; $confLocs = explode(',', $conf['locs']); foreach ($confLocs as $loc) { |