Fix bug when uploading files with cyrilic characters

This commit is contained in:
Frederic Guillot
2015-08-25 21:40:17 -04:00
parent b144cc81ff
commit 7d48bb29b2
2 changed files with 2 additions and 1 deletions

View File

@@ -228,7 +228,7 @@ class File extends Base
if ($error == UPLOAD_ERR_OK && $_FILES[$form_name]['size'][$key] > 0) {
$original_filename = basename($_FILES[$form_name]['name'][$key]);
$original_filename = $_FILES[$form_name]['name'][$key];
$uploaded_filename = $_FILES[$form_name]['tmp_name'][$key];
$destination_filename = $this->generatePath($project_id, $task_id, $original_filename);