diff options
author | Simon Rettberg | 2016-07-12 17:17:05 +0200 |
---|---|---|
committer | Simon Rettberg | 2016-07-12 17:17:05 +0200 |
commit | 783712f8dc86fefe6fc91baad07ef1e5a5e40e54 (patch) | |
tree | 06db8e1c9ca8a846270422ca2360cee150475685 /modules-available/locations | |
parent | [main] Add module title (diff) | |
download | slx-admin-783712f8dc86fefe6fc91baad07ef1e5a5e40e54.tar.gz slx-admin-783712f8dc86fefe6fc91baad07ef1e5a5e40e54.tar.xz slx-admin-783712f8dc86fefe6fc91baad07ef1e5a5e40e54.zip |
[locations] Fix determining global sysconfig
Diffstat (limited to 'modules-available/locations')
-rw-r--r-- | modules-available/locations/page.inc.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules-available/locations/page.inc.php b/modules-available/locations/page.inc.php index 02f33bb3..f43f9090 100644 --- a/modules-available/locations/page.inc.php +++ b/modules-available/locations/page.inc.php @@ -321,6 +321,8 @@ class Page_Locations extends Page if (Module::isAvailable('sysconfig')) { $confs = SysConfig::getAll(); foreach ($confs as $conf) { + if (empty($conf['locs'])) + continue; $confLocs = explode(',', $conf['locs']); foreach ($confLocs as $loc) { settype($loc, 'int'); |