Skip to content

Commit

Permalink
Add backwards compatibility shim because string "false" evaluates to …
Browse files Browse the repository at this point in the history
…true
  • Loading branch information
Del committed Jan 23, 2017
1 parent d4b7d46 commit 9493b87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Message/ConvergeAbstractRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ protected function getBaseData()
'ssl_user_id' => $this->getUsername(),
'ssl_pin' => $this->getPassword(),
'ssl_test_mode' => ($this->getTestMode()) ? 'true' : 'false',
'ssl_show_form' => ($this->getSslShowForm()) ? 'true' : 'false',
'ssl_show_form' => ($this->getSslShowForm() && ($this->getSslShowForm() != 'false')) ? 'true' : 'false',
'ssl_result_format' => $this->getSslResultFormat(),
'ssl_invoice_number' => $this->getSslInvoiceNumber(),
);
Expand Down

0 comments on commit 9493b87

Please sign in to comment.