Skip to content

Commit 62ba004

Browse files
committed
Learnpath: on scorm package update overwrite all the file even if newer files are on the server -refs BT#21129
1 parent 76f88c7 commit 62ba004

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

main/lp/scorm.class.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -771,6 +771,7 @@ public function import_package(
771771
}
772772

773773
$zipFile->extract(
774+
PCLZIP_OPT_REPLACE_NEWER,
774775
PCLZIP_CB_PRE_EXTRACT,
775776
$callBack
776777
);

0 commit comments

Comments
 (0)