We are moving to Git Issues for bug tracking in future releases. During transition, content will be in both tools. If you'd like to file a new bug, please create an issue.

View | Details | Raw Unified | Return to bug 6876 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-2 / +2 lines)
Line     Link Here 
0
-- a/classes/file/PaperFileManager.inc.php
0
++ b/classes/file/PaperFileManager.inc.php
 Lines 491-497   class PaperFileManager extends FileManager { Link Here 
491
			$paperFile->setDateModified(Core::getCurrentDate());
491
			$paperFile->setDateModified(Core::getCurrentDate());
492
		}
492
		}
493
493
494
		$paperFile->setFileType($_FILES[$fileName]['type']);
494
		$paperFile->setFileType($this->getUploadedFileType($fileName));
495
		$paperFile->setFileSize($_FILES[$fileName]['size']);
495
		$paperFile->setFileSize($_FILES[$fileName]['size']);
496
		$paperFile->setOriginalFileName(PaperFileManager::truncateFileName($_FILES[$fileName]['name'], 127));
496
		$paperFile->setOriginalFileName(PaperFileManager::truncateFileName($_FILES[$fileName]['name'], 127));
497
		$paperFile->setType($typePath);
497
		$paperFile->setType($typePath);

Return to bug 6876