mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-20 15:33:47 +01:00
generate_lang_file.php : correctly handle translate_labels options for LSattr_html_jsonCompositeAttribute select_list components
This commit is contained in:
parent
13dd1f1f6f
commit
4fe870099e
1 changed files with 1 additions and 1 deletions
|
@ -275,7 +275,7 @@ if (loadDir(LS_OBJECTS_DIR) && loadDir(LS_LOCAL_DIR.LS_OBJECTS_DIR)) {
|
||||||
add($cconfig['help_info']);
|
add($cconfig['help_info']);
|
||||||
|
|
||||||
// Component type select_list
|
// Component type select_list
|
||||||
if (is_array($cconfig['options']['possible_values'])) {
|
if (is_array($cconfig['options']['possible_values']) && (!isset($cconfig['options']['translate_labels']) || $cconfig['options']['translate_labels']) && !$withoutselectlist) {
|
||||||
foreach($cconfig['options']['possible_values'] as $pkey => $pname) {
|
foreach($cconfig['options']['possible_values'] as $pkey => $pname) {
|
||||||
if (is_array($pname)) {
|
if (is_array($pname)) {
|
||||||
add($pname['label']);
|
add($pname['label']);
|
||||||
|
|
Loading…
Reference in a new issue