Skip to content
Snippets Groups Projects
Commit dbe6d90f authored by Dorian Merz's avatar Dorian Merz Committed by Robert Lange
Browse files

refs #21067 [finc] bugfix in getItemNotes

* adds cast to array for index 'about'
parent 18169b70
Branches
Tags
No related merge requests found
...@@ -676,11 +676,12 @@ class FincLibero extends FincILS implements TranslatorAwareInterface ...@@ -676,11 +676,12 @@ class FincLibero extends FincILS implements TranslatorAwareInterface
{ {
// add all item specific information from DAIA field about to item_notes // add all item specific information from DAIA field about to item_notes
// (https://intern.finc.info/issues/7863) // (https://intern.finc.info/issues/7863)
$about = $item['about'] ?? [];
return array_unique( return array_unique(
array_merge( array_merge(
(array)$return['status'], (array)$return['status'],
$return['item_notes'], $return['item_notes'],
$item['about'] ?? [] (array) $about
) )
); );
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment