diff options
Diffstat (limited to 'modules-available/locationinfo/page.inc.php')
-rw-r--r-- | modules-available/locationinfo/page.inc.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules-available/locationinfo/page.inc.php b/modules-available/locationinfo/page.inc.php index 656c2f81..e1e47385 100644 --- a/modules-available/locationinfo/page.inc.php +++ b/modules-available/locationinfo/page.inc.php @@ -48,8 +48,7 @@ class Page_LocationInfo extends Page } elseif (User::hasPermission('backend.*')) { $show = 'backends'; } else { - Message::addError('main.no-permission'); - Util::redirect('?do=main'); + User::assertPermission('panel.list'); } Util::redirect('?do=locationinfo&show=' . $show); } |