Browse Source

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

Yannick Warnier 8 years ago
parent
commit
50a33ff6b0
1 changed files with 7 additions and 1 deletions
  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'],
             $_user['user_id'],
             0,
             0,
             null,
             null,
-            1
+            1,
+            null,
+            null,
+            null,
+            null,
+            null,
+            false
         )
         )
     ) {
     ) {
         return true;
         return true;