Просмотр исходного кода

Minor - Use new handle_upload_file() option to avoid altering filenames in QTI import

Yannick Warnier 8 лет назад
Родитель
Сommit
50a33ff6b0
1 измененных файлов с 7 добавлено и 1 удалено
  1. 7 1
      main/exercise/export/exercise_import.inc.php

+ 7 - 1
main/exercise/export/exercise_import.inc.php

@@ -36,7 +36,13 @@ function get_and_unzip_uploaded_exercise($baseWorkDir, $uploadPath)
             $_user['user_id'],
             0,
             null,
-            1
+            1,
+            null,
+            null,
+            null,
+            null,
+            null,
+            false
         )
     ) {
         return true;