From d02e306cd5d75228ac349cbefbb77acf24fb2f19 Mon Sep 17 00:00:00 2001 From: Philipp Imhof <52650214+PhilippImhof@users.noreply.github.com> Date: Tue, 6 Aug 2024 10:43:49 +0200 Subject: [PATCH] fix corrupted ZIP files --- report.php | 1 + 1 file changed, 1 insertion(+) diff --git a/report.php b/report.php index 3e5e656..c6d4a92 100644 --- a/report.php +++ b/report.php @@ -348,6 +348,7 @@ protected function process_and_download(): void { $this->notification(get_string('nothingtodownload', 'quiz_essaydownload')); } else { $zipwriter->finish(); + exit(); } }