Skip to content

Commit

Permalink
only return an empty string if setEmptyValues is set
Browse files Browse the repository at this point in the history
  • Loading branch information
i-just committed Jul 17, 2024
1 parent 890e001 commit 63fe553
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fields/Dropdown.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public function parseField(): mixed
}
}

if (empty($value)) {
if ($this->feed['setEmptyValues'] === 1 && $value === '') {
return $value;
}

Expand Down

0 comments on commit 63fe553

Please sign in to comment.