Skip to content

Commit

Permalink
Merge pull request #76 from delatbabel/alt-pr-64
Browse files Browse the repository at this point in the history
alternate fix for PR 64
  • Loading branch information
delatbabel committed Jan 27, 2016
2 parents c0c743b + 3c1efd0 commit 5a618b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Omnipay/Common/Message/AbstractRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ public function validate()
{
foreach (func_get_args() as $key) {
$value = $this->parameters->get($key);
if (empty($value)) {
if (! isset($value)) {
throw new InvalidRequestException("The $key parameter is required");
}
}
Expand Down

0 comments on commit 5a618b4

Please sign in to comment.