Index: branches/5.2.x/core/install/install_toolkit.php =================================================================== diff -u -N -r15105 -r15111 --- branches/5.2.x/core/install/install_toolkit.php (.../install_toolkit.php) (revision 15105) +++ branches/5.2.x/core/install/install_toolkit.php (.../install_toolkit.php) (revision 15111) @@ -1,6 +1,6 @@ synchronizeModule($module_name); + $ml_helper =& $this->Application->recallObject('kMultiLanguageHelper'); + /* @var $ml_helper kMultiLanguageHelper */ + + $ml_helper->massCreateFields(); + $this->deleteCache($refresh_permissions); $url_params = Array ( Index: branches/5.2.x/core/units/languages/languages_event_handler.php =================================================================== diff -u -N -r15073 -r15111 --- branches/5.2.x/core/units/languages/languages_event_handler.php (.../languages_event_handler.php) (revision 15073) +++ branches/5.2.x/core/units/languages/languages_event_handler.php (.../languages_event_handler.php) (revision 15111) @@ -1,6 +1,6 @@ Application->recallObject('kMultiLanguageHelper'); /* @var $ml_helper kMultiLanguageHelper */ - $this->Application->UnitConfigReader->ReReadConfigs(); - foreach ($this->Application->UnitConfigReader->configData as $prefix => $config_data) { - $ml_helper->createFields($prefix); - } - + $ml_helper->massCreateFields(); $event->SetRedirectParam('action_completed', 1); } Index: branches/5.2.x/core/units/helpers/multilanguage_helper.php =================================================================== diff -u -N -r15105 -r15111 --- branches/5.2.x/core/units/helpers/multilanguage_helper.php (.../multilanguage_helper.php) (revision 15105) +++ branches/5.2.x/core/units/helpers/multilanguage_helper.php (.../multilanguage_helper.php) (revision 15111) @@ -1,6 +1,6 @@ Application->UnitConfigReader->ReReadConfigs(); + } + + foreach ($this->Application->UnitConfigReader->configData as $prefix => $config_data) { + $this->createFields($prefix); + } + } + + /** * Creates missing multilanguage fields in table by specified prefix * * @param string $prefix