mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-15 22:13:13 +00:00
Fix unit tests
This commit is contained in:
@@ -2089,7 +2089,7 @@ class task_period_archive extends task_abstract
|
||||
$fields = caption_field::get_multi_values($field, $meta->get_separator());
|
||||
|
||||
if (!$metadataBag->containsKey($meta->get_name())) {
|
||||
$values = new \PHPExiftool\Driver\Value\Multi($fields);
|
||||
$values = $fields;
|
||||
} else {
|
||||
$values = array_merge($metadataBag->get($meta->get_name())->getValue(), $fields);
|
||||
}
|
||||
|
Reference in New Issue
Block a user