AndyB
Well-known member
I'm updating the code in my add-on called Smilie Count. When a new post is being created and there are too many smilies, I return this error. The problem is the error message is displayed twice.
Here's the error message:
PHP:
return $this->error(new XenForo_Phrase('please_reduce_the_number_of_smilies_maximum_allowed_is') . ' ' . $maxSmilieCount);
Here's the error message: