diff --git a/renderer.php b/renderer.php
index c33830e80ba0bb2cf6776f78baa7333c83a652e9..62ebd5174eb934bfa71dc62a7da09c95b1297e8a 100644
--- a/renderer.php
+++ b/renderer.php
@@ -417,7 +417,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++;