From c46e29bdd12631ba801a028c6837b066f077c66e Mon Sep 17 00:00:00 2001 From: Matthieu Napoli <matthieu@mnapoli.fr> Date: Tue, 19 May 2015 14:28:47 +0200 Subject: [PATCH] Show the "Next" button on the top of the System check page only if there are no errors and warnings --- plugins/Installation/Controller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } -- GitLab