mirror of
https://github.com/e107inc/e107.git
synced 2025-04-30 01:08:46 +02:00
Forum plugin - fixed error message incorrectly displaying when creating topic/reply with no attachments
This commit is contained in:
parent
9acc933dea
commit
bf2fa42da7
@ -661,10 +661,13 @@ function process_upload()
|
||||
return $ret;
|
||||
}
|
||||
}
|
||||
/* no file uploaded at all, proceed with creating the topic or reply
|
||||
// TODO don't call process_upload() when no attachments are uploaded.. (check user input first, then call if needed)
|
||||
else
|
||||
{
|
||||
e107::getMessage()->addError('Something went wrong during the attachment uploading process.');
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
function image_getsize($fname)
|
||||
|
Loading…
x
Reference in New Issue
Block a user