diff options
author | Simon Rettberg | 2018-03-29 15:24:16 +0200 |
---|---|---|
committer | Simon Rettberg | 2018-03-29 15:24:16 +0200 |
commit | 038edd6c903cba29e6ee8ec6a66be057734eea29 (patch) | |
tree | d52e8d854fbf2e0dfeae131d5bb603a624d42aa3 /modules-available/locationinfo | |
parent | [inc/Trigger] mount(): Set mount options to null if not given (diff) | |
download | slx-admin-038edd6c903cba29e6ee8ec6a66be057734eea29.tar.gz slx-admin-038edd6c903cba29e6ee8ec6a66be057734eea29.tar.xz slx-admin-038edd6c903cba29e6ee8ec6a66be057734eea29.zip |
[locationinfo] Fix permission checking: Add missing return statement
Diffstat (limited to 'modules-available/locationinfo')
-rw-r--r-- | modules-available/locationinfo/page.inc.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules-available/locationinfo/page.inc.php b/modules-available/locationinfo/page.inc.php index 690012ea..5ef7a9ed 100644 --- a/modules-available/locationinfo/page.inc.php +++ b/modules-available/locationinfo/page.inc.php @@ -1018,6 +1018,7 @@ class Page_LocationInfo extends Page if ($panel === false || $panel['paneltype'] === 'URL' || empty($panel['locationids'])) { if (empty($additionalLocations)) { User::assertPermission($permission, null, '?do=locationinfo'); + return; } } $allowed = User::getAllowedLocations($permission); |