MDL-47085 badges: Fix badges file download issues
Signed-off-by: Yuliya Bozhko <[email protected]>
This commit is contained in:
+2
-1
@@ -1126,7 +1126,8 @@ function badges_download($userid) {
|
||||
if ($zipper->archive_to_pathname($filelist, $tempzip)) {
|
||||
send_temp_file($tempzip, 'badges.zip');
|
||||
} else {
|
||||
debugging("Problems with archiving the files.");
|
||||
debugging("Problems with archiving the files.", DEBUG_DEVELOPER);
|
||||
die;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user