diff options
author | Christian Klinger | 2016-07-13 12:41:27 +0200 |
---|---|---|
committer | Christian Klinger | 2016-07-13 12:41:27 +0200 |
commit | 6cd6f0db49d15a455b92e038aa219c375cd0a1be (patch) | |
tree | 111bbb90404a72656e901c16a447ea0665457b77 /modules-available/locations | |
parent | Squashed commit of the following: (diff) | |
parent | [util] Made traceError output prettier by using HTML (diff) | |
download | slx-admin-6cd6f0db49d15a455b92e038aa219c375cd0a1be.tar.gz slx-admin-6cd6f0db49d15a455b92e038aa219c375cd0a1be.tar.xz slx-admin-6cd6f0db49d15a455b92e038aa219c375cd0a1be.zip |
Merge branch 'modularization' of git.openslx.org:openslx-ng/slx-admin into modularization
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..464c4c95 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 (strlen($conf['locs']) === 0) + continue; $confLocs = explode(',', $conf['locs']); foreach ($confLocs as $loc) { settype($loc, 'int'); |