From 13fc25b95df65152920cd9c440a5cab7d1d4103b Mon Sep 17 00:00:00 2001 From: NicoDucou Date: Tue, 19 Dec 2023 08:52:48 +0100 Subject: [PATCH] Reporting: fix missing variable initialization -refs BT#20895 --- public/main/my_space/myStudents.php | 1 + 1 file changed, 1 insertion(+) diff --git a/public/main/my_space/myStudents.php b/public/main/my_space/myStudents.php index 2406e4a7c9..5e997b5609 100644 --- a/public/main/my_space/myStudents.php +++ b/public/main/my_space/myStudents.php @@ -1932,6 +1932,7 @@ if (empty($details)) { if ($exerciseList) { /** @var CQuiz $exercise */ + $i = 0; foreach ($exerciseList as $exercise) { $exercise_id = (int) $exercise->getIid(); $count_attempts = Tracking::count_student_exercise_attempts(