From bdec1319ed48f04dc716c4d4d1cbb74e5747e9e0 Mon Sep 17 00:00:00 2001 From: Frode Petterson Date: Thu, 26 Jan 2017 14:56:36 +0100 Subject: [PATCH] Always return fileId for tracking tmp files --- h5p-default-storage.class.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/h5p-default-storage.class.php b/h5p-default-storage.class.php index 1fcada2..696e8de 100644 --- a/h5p-default-storage.class.php +++ b/h5p-default-storage.class.php @@ -316,6 +316,8 @@ class H5PDefaultStorage implements \H5PFileStorage { else { copy($_FILES['file']['tmp_name'], $path); } + + return $path; } /**