Skip to content

Commit

Permalink
fix null from ''
Browse files Browse the repository at this point in the history
  • Loading branch information
RonAbarbanel committed Feb 11, 2024
1 parent 232d8cd commit 50c0fd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DonorPerfect.php
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ public static function prepareParams($data, $params)
}

// Handle a param not being included in the data
if (empty($data[$param])) {
if (!isset($data[$param]) || $data[$param] === '') {
$return[$param] = null;
continue;
}
Expand Down

0 comments on commit 50c0fd4

Please sign in to comment.