Skip to content

Commit 232d8cd

Browse files
committed
prevent blanks - force null
1 parent 18282d7 commit 232d8cd

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 (!isset($data[$param])) {
473+
if (empty($data[$param])) {
474474
$return[$param] = null;
475475
continue;
476476
}

0 commit comments

Comments
 (0)