From 5ecf94dbd052aa4f9c55aa6f8bcc9bd96bbc2a66 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Tue, 27 Mar 2018 13:52:54 +0200 Subject: [statistics] Fix infinite redirect loop Closes #3339 --- modules-available/statistics/page.inc.php | 4 ++-- 1 file 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]); } } -- cgit v1.2.3-55-g7522