diff --git a/includes/Classes/Download.php b/includes/Classes/Download.php index 1c5e32d8..05ad8522 100644 --- a/includes/Classes/Download.php +++ b/includes/Classes/Download.php @@ -52,7 +52,7 @@ public function returnFilesIds($file_ids) if (current_role_in($this->check_level)) { $file_list = array(); foreach($file_ids as $key => $data) { - $file_list[] = $data['value']; + $file_list[] = int($data['value']); //file-id must be int } ob_clean(); flush();