This commit is contained in:
Laurent Destailleur
2023-05-11 02:04:25 +02:00
parent a22a83827a
commit f59987af77
12 changed files with 14 additions and 14 deletions

View File

@@ -6133,7 +6133,7 @@ abstract class CommonObject
foreach ($this->array_options as $key => $value) {
if (in_array(substr($key, 8), array_keys($target_extrafields))) { // We remove the 'options_' from $key for test
$new_array_options[$key] = $value;
} elseif (in_array($key, array_keys($target_extrafields))) { // We test on $key that does not contains the 'options_' prefix
} elseif (in_array($key, array_keys($target_extrafields))) { // We test on $key that does not contain the 'options_' prefix
$new_array_options['options_'.$key] = $value;
}
}