mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Clean up ModuleController::replaceDefinedLangCode()
This commit is contained in:
parent
2e6e097272
commit
f8859769e8
15 changed files with 64 additions and 77 deletions
|
|
@ -113,8 +113,7 @@ class spamfilterModel extends spamfilter
|
|||
{
|
||||
if(preg_match('/^\\$user_lang->[a-zA-Z0-9]+$/', $config->custom_message))
|
||||
{
|
||||
getController('module')->replaceDefinedLangCode($config->custom_message);
|
||||
$custom_message = htmlspecialchars($config->custom_message);
|
||||
$custom_message = escape(Context::replaceUserLang($config->custom_message), false);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue