Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
andriyun committed Mar 24, 2021
2 parents e53b6f2 + 13367c2 commit bec9079
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,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"]) : '';
Expand Down

0 comments on commit bec9079

Please sign in to comment.