Index: branches/unlabeled/unlabeled-1.3.2/core/units/general/helpers/multilanguage.php =================================================================== diff -u -r4278 -r4337 --- branches/unlabeled/unlabeled-1.3.2/core/units/general/helpers/multilanguage.php (.../multilanguage.php) (revision 4278) +++ branches/unlabeled/unlabeled-1.3.2/core/units/general/helpers/multilanguage.php (.../multilanguage.php) (revision 4337) @@ -79,9 +79,14 @@ * Creates missing multilanguage fields in table by specified prefix * * @param string $prefix + * @param bool $refresh Forces config field structure to be re-read from database */ - function createFields($prefix) + function createFields($prefix, $refresh = false) { + if ($refresh) { + $this->Application->HandleEvent( new kEvent($prefix.':OnCreateCustomFields') ); + } + $table_name = $this->Application->getUnitOption($prefix, 'TableName'); $this->curFields = $this->Application->getUnitOption($prefix, 'Fields');