Use the name to find the Select Option Group translation.
This commit is contained in:
parent
a9886a8ba9
commit
2171a5f11a
|
|
@ -356,7 +356,7 @@ if (!class_exists('destinations')) {
|
|||
}
|
||||
|
||||
if (!empty($row['result']['data']) && !empty($row['select_value'][$destination_type])) {
|
||||
$response .= " <optgroup label='".$text2['title-'.$label]."'>\n";
|
||||
$response .= " <optgroup label='".$text2['title-'.$name]."'>\n";
|
||||
$label2 = $label;
|
||||
foreach ($row['result']['data'] as $data) {
|
||||
$select_value = $row['select_value'][$destination_type];
|
||||
|
|
|
|||
Loading…
Reference in New Issue