mirror of
https://github.com/e107inc/e107.git
synced 2025-07-12 18:46:20 +02:00
Forum plugin - fixed error message incorrectly displaying when creating topic/reply with no attachments
This commit is contained in:
@ -661,10 +661,13 @@ function process_upload()
|
|||||||
return $ret;
|
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
|
else
|
||||||
{
|
{
|
||||||
e107::getMessage()->addError('Something went wrong during the attachment uploading process.');
|
e107::getMessage()->addError('Something went wrong during the attachment uploading process.');
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
function image_getsize($fname)
|
function image_getsize($fname)
|
||||||
|
Reference in New Issue
Block a user