diff options
author | Jannik Schönartz | 2017-11-30 13:00:02 +0100 |
---|---|---|
committer | Jannik Schönartz | 2017-11-30 13:00:02 +0100 |
commit | 152e19a2efe8795c7e72d97e855273b6ae707f4a (patch) | |
tree | 559b89e4c8e911a0f8619b4891b45d8e516d7dc7 /modules-available/locationinfo/page.inc.php | |
parent | [locationinfo] Reworked summary-panel to the new panel uuid stuff. (diff) | |
parent | [sessions] english text in en template (diff) | |
download | slx-admin-152e19a2efe8795c7e72d97e855273b6ae707f4a.tar.gz slx-admin-152e19a2efe8795c7e72d97e855273b6ae707f4a.tar.xz slx-admin-152e19a2efe8795c7e72d97e855273b6ae707f4a.zip |
[locationinfo] Merge branch 'master' of git.openslx.org:openslx-ng/slx-admin
Diffstat (limited to 'modules-available/locationinfo/page.inc.php')
-rw-r--r-- | modules-available/locationinfo/page.inc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules-available/locationinfo/page.inc.php b/modules-available/locationinfo/page.inc.php index 847dc73a..2471a701 100644 --- a/modules-available/locationinfo/page.inc.php +++ b/modules-available/locationinfo/page.inc.php @@ -223,14 +223,14 @@ class Page_LocationInfo extends Page if ($locationids === false) { if (!$failIfEmpty) return array(); - Message::addError('main.paramter-missing', 'locationids'); + Message::addError('main.parameter-missing', 'locationids'); Util::redirect('?do=locationinfo'); } $locationids = explode(',', $locationids); $all = array_map(function ($item) { return $item['locationid']; }, Location::queryLocations()); $locationids = array_filter($locationids, function ($item) use ($all) { return in_array($item, $all); }); if ($failIfEmpty && empty($locationids)) { - Message::addError('main.paramter-empty', 'locationids'); + Message::addError('main.parameter-empty', 'locationids'); Util::redirect('?do=locationinfo'); } return $locationids; |