forked from Wavyzz/dolibarr
Fix typo
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user