From a0bf7c0f4d251adde7238e361b5bf97bb315e76d Mon Sep 17 00:00:00 2001 From: Robert Lange <robert.lange@uni-leipzig.de> Date: Wed, 12 Jan 2022 16:47:19 +0100 Subject: [PATCH] refs #21148 [finc] icon mapping: handle missing property concatenateKeys in config --- module/finc/src/finc/View/Helper/Root/Record.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/module/finc/src/finc/View/Helper/Root/Record.php b/module/finc/src/finc/View/Helper/Root/Record.php index cd77fd49759..bc2a88b87ac 100644 --- a/module/finc/src/finc/View/Helper/Root/Record.php +++ b/module/finc/src/finc/View/Helper/Root/Record.php @@ -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; } } -- GitLab