mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-01 05:55:02 +03:00
fix lang module
This commit is contained in:
parent
77f86e1e47
commit
9c15c19bc6
|
@ -226,7 +226,7 @@ class ModuleLang extends Module {
|
|||
*/
|
||||
public function Get($sName,$aReplace=array(),$bDelete=true) {
|
||||
if (!Config::Get('lang.disable_blocks') && strpos($sName, '.')) {
|
||||
$sLang = &$this->aLangMsg;
|
||||
$sLang = $this->aLangMsg;
|
||||
$aKeys = explode('.', $sName);
|
||||
foreach ($aKeys as $k) {
|
||||
if (isset($sLang[$k])) {
|
||||
|
|
Loading…
Reference in a new issue