Skip to content

Commit 5a618b4

Browse files
committed
Merge pull request #76 from delatbabel/alt-pr-64
alternate fix for PR 64
2 parents c0c743b + 3c1efd0 commit 5a618b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Omnipay/Common/Message/AbstractRequest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ public function validate()
209209
{
210210
foreach (func_get_args() as $key) {
211211
$value = $this->parameters->get($key);
212-
if (empty($value)) {
212+
if (! isset($value)) {
213213
throw new InvalidRequestException("The $key parameter is required");
214214
}
215215
}

0 commit comments

Comments
 (0)