Index: branches/5.2.x/core/units/helpers/multilanguage_helper.php =================================================================== diff -u -N -r15428 -r16297 --- branches/5.2.x/core/units/helpers/multilanguage_helper.php (.../multilanguage_helper.php) (revision 15428) +++ branches/5.2.x/core/units/helpers/multilanguage_helper.php (.../multilanguage_helper.php) (revision 16297) @@ -1,6 +1,6 @@ curFields[$ml_field]['index_type']) ? $this->curFields[$prev_field]['index_type'] : 'string'; + if ( isset($this->curFields[$ml_field]['index_type']) ) { + $index_type = $this->curFields[$ml_field]['index_type']; + } + else { + $index_type = 'string'; + } $ret .= $index_type == 'string' ? 'ADD INDEX (`'.$field_name.'` (5) ), ' : 'ADD INDEX (`'.$field_name.'`), '; $this->curIndexCount++;