1
0
Fork 0
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:
Mzhelskiy Maxim 2011-11-22 20:14:58 +04:00
parent 77f86e1e47
commit 9c15c19bc6

View file

@ -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])) {