231 $langId = mb_strtoupper($langId);
232 if (is_string($field))
234 elseif (!empty($field[$langId]))
235 $result = $field[$langId];
236 elseif ($langId ==
'UA' && !empty($field[
'RU']))
237 $result = $field[
'RU'];
238 elseif (!empty($field[
'EN']))
239 $result = $field[
'EN'];
240 elseif (!empty($field[
'*']))
241 $result = $field[
'*'];