Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Napoli <matthieu@mnapoli.fr>2015-05-19 15:28:47 +0300
committerMatthieu Napoli <matthieu@mnapoli.fr>2015-05-20 14:25:42 +0300
commitc46e29bdd12631ba801a028c6837b066f077c66e (patch)
tree8ee58167b20979eac3546d31f18486d569285060 /plugins/Installation/Controller.php
parent7142c6d176e5f718dec8ccdc665443b6e96d8ab2 (diff)
Show the "Next" button on the top of the System check page only if there are no errors and warnings
Diffstat (limited to 'plugins/Installation/Controller.php')
-rw-r--r--plugins/Installation/Controller.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Installation/Controller.php b/plugins/Installation/Controller.php
index d2c391fdb3..67cc5e9bd3 100644
--- a/plugins/Installation/Controller.php
+++ b/plugins/Installation/Controller.php
@@ -119,7 +119,7 @@ class Controller extends \Piwik\Plugin\ControllerAdmin
$view->showNextStep = !$view->diagnosticReport->hasErrors();
// On the system check page, if all is green, display Next link at the top
- $view->showNextStepAtTop = $view->showNextStep;
+ $view->showNextStepAtTop = $view->showNextStep && !$view->diagnosticReport->hasWarnings();
return $view->render();
}