Minor fix warning.

1.10.x
Julio Montoya 10 years ago
parent 63266a1ffa
commit 5039fb44fc
  1. 3
      main/inc/introductionSection.inc.php

@ -294,6 +294,7 @@ if (api_is_allowed_to_edit()) {
} }
$toolbar = ''; $toolbar = '';
$textIntro = '';
if ($intro_dispCommand) { if ($intro_dispCommand) {
if (empty($intro_content)) { if (empty($intro_content)) {
// Displays "Add intro" commands // Displays "Add intro" commands
@ -349,7 +350,7 @@ if ($intro_dispDefault) {
$introduction_section .= '</div>'; $introduction_section .= '</div>';
} else { } else {
$introduction_section .= '<div class="help-course">'; $introduction_section .= '<div class="help-course">';
$introduction_section .= get_lang('AddCustomCourseIntro').' ' . $textIntro ; $introduction_section .= get_lang('AddCustomCourseIntro').' ' . $textIntro;
$introduction_section .= '</div>'; $introduction_section .= '</div>';
} }
} }

Loading…
Cancel
Save