mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 04:22:07 +02:00
Fix for deprecated zip_files() function. Packager requires
destination file full path. Non-existing bug in Tracker.
This commit is contained in:
parent
0addb36648
commit
3ed22f1a25
@ -456,7 +456,7 @@ function zip_files ($originalfiles, $destination) {
|
||||
|
||||
$packer = get_file_packer('application/zip');
|
||||
|
||||
return $packer->archive_to_pathname($zipfiles, $destfilename);
|
||||
return $packer->archive_to_pathname($zipfiles, $destpath . '/' . $destfilename);
|
||||
}
|
||||
|
||||
/////////////////////////////////////////////////////////////
|
||||
|
Loading…
x
Reference in New Issue
Block a user