Skip to content
Snippets Groups Projects
Commit a0bf7c0f authored by Robert Lange's avatar Robert Lange
Browse files

refs #21148 [finc] icon mapping: handle missing property concatenateKeys in config

parent 01b8c10d
No related merge requests found
......@@ -139,7 +139,10 @@ class Record extends \VuFind\View\Helper\Root\Record
->StyleBasedIcons->{$this->iconMappingType}
) ? $this->iconConfig
->StyleBasedIcons->{$this->iconMappingType}->toArray() : [];
$this->concatKeysForIconMapping = $this->iconConfig
$this->concatKeysForIconMapping = isset(
$this->iconConfig
->StyleBasedIcons->concatenateKeys
) && $this->iconConfig
->StyleBasedIcons->concatenateKeys ? true : false;
}
}
......
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