Merge pull request #24434 from atm-lena/16.0_FIX_SelectExtrafieldsSearchList_Conditions

FIX Search List Select Extrafields with condition
This commit is contained in:
Laurent Destailleur 2023-04-04 19:50:07 +02:00 committed by GitHub
commit 014a523819
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1084,6 +1084,9 @@ class ExtraFields
continue; continue;
} }
$valarray = explode('|', $val);
$val = $valarray[0];
if ($langfile && $val) { if ($langfile && $val) {
$options[$okey] = $langs->trans($val); $options[$okey] = $langs->trans($val);
} else { } else {