diff --git a/renderer.php b/renderer.php
index 6e3b78cf4393fb3079cdb46241e29d303f2a69f3..5a6164dbb045c3a4977574b379502a680e41bff5 100644
--- a/renderer.php
+++ b/renderer.php
@@ -408,7 +408,7 @@ class format_iena_renderer extends format_topics_renderer{
 			}
 
 			$titre = $nameSection[$i];
-			$sectionIntro = $introSection[$i];
+			$sectionIntro = isset($introSection[$i]) ? $introSection[$i] : '';
 						//If section is hidden continue
 			if ($titre == null && !(has_capability('moodle/course:update', $context = context_course::instance($COURSE->id), $USER->id))) {
 				$i++;