33
2
mirror of https://github.com/joomla-extensions/jedchecker.git synced 2025-04-10 06:31:50 +00:00

Update uploads.php

This commit is contained in:
Jaz Parkyn 2015-10-25 19:59:01 +00:00
parent 9771aef7db
commit 55a75b52a5

View File

@ -55,7 +55,7 @@ class jedcheckerControllerUploads extends JControllerlegacy
$file = (array)$object_file;
// let us try to upload
if (!JFile::upload($file['tmp_name'], $file['filepath'])) {
if (!JFile::upload($file['tmp_name'], $file['filepath'], false, true)) {
// Error in upload
JError::raiseWarning(100, JText::_('COM_JEDCHECKER_ERROR_UNABLE_TO_UPLOAD_FILE'));
return false;