Fix abusive merge before pushing

1.9.x
Yannick Warnier 12 years ago
parent e136bda0d1
commit 30a12b75e7
  1. 2
      main/inc/lib/fileUpload.lib.php

@ -371,7 +371,7 @@ function handle_uploaded_document(
Display::display_error_message($clean_name.' '.get_lang('UplAlreadyExists'));
}
} else {
if (@move_uploaded_file($uploaded_file['tmp_name'], $store_path)) {
if (moveUploadedFile($uploaded_file, $store_path)) {
chmod($store_path, $files_perm);
// Put the document data in the database

Loading…
Cancel
Save