diff options
author | Simon Rettberg | 2018-03-27 13:52:54 +0200 |
---|---|---|
committer | Simon Rettberg | 2018-03-27 13:52:54 +0200 |
commit | 5ecf94dbd052aa4f9c55aa6f8bcc9bd96bbc2a66 (patch) | |
tree | 1ba75e504d6c8cafb03f564a03c70ecd0f622aa7 /modules-available/statistics | |
parent | [adduser] add user: Check various input fields via js for immediate feedback (diff) | |
download | slx-admin-5ecf94dbd052aa4f9c55aa6f8bcc9bd96bbc2a66.tar.gz slx-admin-5ecf94dbd052aa4f9c55aa6f8bcc9bd96bbc2a66.tar.xz slx-admin-5ecf94dbd052aa4f9c55aa6f8bcc9bd96bbc2a66.zip |
[statistics] Fix infinite redirect loop
Closes #3339
Diffstat (limited to 'modules-available/statistics')
-rw-r--r-- | modules-available/statistics/page.inc.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules-available/statistics/page.inc.php b/modules-available/statistics/page.inc.php index 60743fb6..a1c4f0c9 100644 --- a/modules-available/statistics/page.inc.php +++ b/modules-available/statistics/page.inc.php @@ -266,7 +266,7 @@ class Page_Statistics extends Page if (!$filterSet->setAllowedLocationsFromPermission('view.' . $this->show)) { Message::addError('main.no-permission'); - Util::redirect('?do=statistics'); + Util::redirect('?do=main'); } if ($this->show === 'list') { @@ -866,7 +866,7 @@ class Page_Statistics extends Page Parser::parsePci($client['lspci1'], $client['lspci2'], $section[2]); } if (isset($hdds['hdds']) && $section[1] === 'smartctl') { - // This currently required that the partition table section comes first... + // This currently requires that the partition table section comes first... Parser::parseSmartctl($hdds['hdds'], $section[2]); } } |