#4712 remove warnings undefined variable

skala
Laurent Opprecht 13 years ago
parent ada71dddb1
commit 7e34ed3d71
  1. 4
      main/install/index.php
  2. 2
      main/install/install.lib.php

@ -37,6 +37,7 @@ if (!function_exists('version_compare') || version_compare( phpversion(), REQUIR
/* INITIALIZATION SECTION */
ob_implicit_flush(true);
session_start();
// Including necessary libraries.
@ -824,8 +825,7 @@ if (@$_POST['step2']) {
include 'install_files.inc.php';
}
$current_step = 7;
$nbr_courses = isset($nbr_courses) ? $nbr_courses : null;
display_after_install_message($installType, $nbr_courses);
display_after_install_message($installType);
} elseif ($_POST['step1'] || $badUpdatePath) {
//STEP 1 : REQUIREMENTS

@ -1942,7 +1942,7 @@ function display_configuration_settings_form($installType, $urlForm, $languageFo
/**
* After installation is completed (step 6), this message is displayed.
*/
function display_after_install_message($installType, $nbr_courses) {
function display_after_install_message($installType) {
?>
<div class="RequirementHeading">
<h2><?php echo display_step_sequence() . get_lang('CfgSetting'); ?></h2>

Loading…
Cancel
Save