[Vtigercrm-developers] LanguageHandler.php has a problem
微宜宝
1250572980 at qq.com
Thu Mar 5 01:34:55 GMT 2015
In the LanguageHandle.php,I find a problem in "public static function export($module, $type = 'languageStrings')",line 215:
if (strpos($module, '.') > 0) {
$baseModule = substr($module, 0, strpos($module, '.'));
if ($baseModule == 'Settings') {
$baseModule = 'Settings.Vtiger';
}
$moduleStrings = self::getModuleStringsFromFile($currentLanguage, $baseModule);
if (!empty($moduleStrings[$type])) {
$exportLangString += $commonStrings[$type];
}
}
I think the $commonStrings[$type] should be $moduleStrings[$type],is not?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20150305/e8d8fc39/attachment.html>
More information about the vtigercrm-developers
mailing list