|
@@ -28,7 +28,7 @@ class Diagnoser
|
|
|
public function show_html()
|
|
|
{
|
|
|
$sections = array('chamilo', 'php', 'database', 'webserver');
|
|
|
-
|
|
|
+ $currentSection = isset($_GET['section']) ? $_GET['section'] : '';
|
|
|
if (!in_array(trim($currentSection), $sections)) {
|
|
|
$currentSection = 'chamilo';
|
|
|
}
|