public static function getValueFromOptions($field, $value, $config = array()) { // Init $options2 = JCckDev::fromJSON($field->options2); $divider = ''; $lang_code = ''; $value2 = ''; // Prepare self::_languageDetection($lang_code, $value2, $options2); if ($field->bool3) { $divider = $field->divider != '' ? $field->divider : ','; } $options_2 = self::_getOptionsList($options2, $field->bool2, $lang_code); $field->options = $field->options ? $field->options . '||' . $options_2 : $options_2; return parent::getValueFromOptions($field, $value, $config); }