Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MDL-33733 fix broken zip_packer->extract_to_storage() when extracting…

… from stored_file
  • Loading branch information...
commit c2c10bb22234dd62b340df8481d33cf39ae3935b 1 parent 4a6ddf7
Petr Skoda skodak authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/filestorage/zip_packer.php
2  lib/filestorage/zip_packer.php
View
@@ -279,7 +279,7 @@ public function extract_to_storage($archivefile, $contextid, $component, $filear
global $CFG;
if (!is_string($archivefile)) {
- return $archivefile->extract_to_pathname($this, $contextid, $component, $filearea, $itemid, $pathbase, $userid);
+ return $archivefile->extract_to_storage($this, $contextid, $component, $filearea, $itemid, $pathbase, $userid);
}
check_dir_exists($CFG->dataroot.'/temp/zip');
Please sign in to comment.
Something went wrong with that request. Please try again.