diff --git a/e107_plugins/forum/forum_post.php b/e107_plugins/forum/forum_post.php index 431ab9696..53aa584a7 100644 --- a/e107_plugins/forum/forum_post.php +++ b/e107_plugins/forum/forum_post.php @@ -658,13 +658,12 @@ function process_upload() } } - return $ret; } } else { - e107::getMessage()->addError('Something went wrong during the attachment uploading process.')); + e107::getMessage()->addError('Something went wrong during the attachment uploading process.'); } }