Skip to content
Snippets Groups Projects
Commit 26480900 authored by Colin Corrigan's avatar Colin Corrigan Committed by Aaron Bauman
Browse files

Issue #3154385 by cwcorrigan: Type Cast doesn't catch Null Correctly for Int/Double

parent ab951df7
No related branches found
No related tags found
No related merge requests found
......@@ -285,11 +285,11 @@ abstract class SalesforceMappingFieldPluginBase extends PluginBase implements Sa
break;
case 'double':
$value = (double) $value;
$value = $value === NULL ? $value : (double) $value;
break;
case 'integer':
$value = (int) $value;
$value = $value === NULL ? $value : (int) $value;
break;
case 'multipicklist':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment