diff options
author | Matthieu Napoli <matthieu@mnapoli.fr> | 2015-05-19 15:28:47 +0300 |
---|---|---|
committer | Matthieu Napoli <matthieu@mnapoli.fr> | 2015-05-20 14:25:42 +0300 |
commit | c46e29bdd12631ba801a028c6837b066f077c66e (patch) | |
tree | 8ee58167b20979eac3546d31f18486d569285060 /plugins/Installation/Controller.php | |
parent | 7142c6d176e5f718dec8ccdc665443b6e96d8ab2 (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.php | 2 |
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(); } |