We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11bde13 commit 309cd73Copy full SHA for 309cd73
src/JsonMapperHelper.php
@@ -17,7 +17,7 @@ public static function setUndefinedProperty($object, $propName, $jsonValue)
17
{
18
// If the property is a custom field type, assign a value to the custom Fields array.
19
if (substr($propName, 0, 12) == 'customfield_') {
20
- if (!empty($jsonValue)) {
+ if (!is_null($jsonValue)) {
21
$object->{$propName} = $jsonValue;
22
$object->customFields[$propName] = $jsonValue;
23
}
0 commit comments