Skip to content

Commit 50c0fd4

Browse files
committed
fix null from ''
1 parent 232d8cd commit 50c0fd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DonorPerfect.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ public static function prepareParams($data, $params)
470470
}
471471

472472
// Handle a param not being included in the data
473-
if (empty($data[$param])) {
473+
if (!isset($data[$param]) || $data[$param] === '') {
474474
$return[$param] = null;
475475
continue;
476476
}

0 commit comments

Comments
 (0)