From 13367c2e0e913de2458838c230bbdf982452d959 Mon Sep 17 00:00:00 2001 From: Andriyun Date: Wed, 24 Mar 2021 15:20:09 +0100 Subject: [PATCH] NLJ-931-88562 Fixed definition of SBSYS values from another fields --- .../os2forms_sbsys/src/Element/WebformAttachmentSbsysXml.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/os2forms_sbsys/src/Element/WebformAttachmentSbsysXml.php b/modules/os2forms_sbsys/src/Element/WebformAttachmentSbsysXml.php index f73631c..b8dea8d 100644 --- a/modules/os2forms_sbsys/src/Element/WebformAttachmentSbsysXml.php +++ b/modules/os2forms_sbsys/src/Element/WebformAttachmentSbsysXml.php @@ -244,7 +244,7 @@ public static function getConfigurationValue($name, array $config, WebformSubmis } $data = $webform_submission->getData(); if ($config[$name] != '_custom_') { - return isset($config[$name . "_custom"]) ? htmlspecialchars($data[$config[$name]]) : ''; + return isset($data[$config[$name]]) ? htmlspecialchars($data[$config[$name]]) : ''; } else { return isset($config[$name . "_custom"]) ? htmlspecialchars($config[$name . "_custom"]) : '';