Fix bug with call to undefined "_getlocal" function

This commit is contained in:
Dmitriy Simushev 2014-06-05 13:33:14 +00:00
parent ddd7498016
commit a2383a2702

View File

@ -272,7 +272,7 @@ function get_localized_string($string, $locale)
return $localized[$string];
}
if ($locale != 'en') {
return _getlocal($string, 'en');
return get_localized_string($string, 'en');
}
return "!" . $string;