mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-04 09:32:15 +09:00
Revert change to user_lang converter
This commit is contained in:
parent
720e7c6527
commit
24df74d618
1 changed files with 1 additions and 1 deletions
|
|
@ -1056,7 +1056,7 @@ class moduleController extends module
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$output = preg_replace_callback('/(?<!value=")\$user_lang-(?:>|>)([a-z0-9\_]+)/is', function($matches) use($lang) {
|
$output = preg_replace_callback('/\$user_lang->([a-z0-9\_]+)/is', function($matches) use($lang) {
|
||||||
if(isset($lang[$matches[1]]) && !Context::get($matches[1]))
|
if(isset($lang[$matches[1]]) && !Context::get($matches[1]))
|
||||||
{
|
{
|
||||||
return $lang[$matches[1]];
|
return $lang[$matches[1]];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue