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:
parent
9771aef7db
commit
55a75b52a5
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user