Skip to content

Commit 56313f1

Browse files
committed
Fixed: "isSuccessful() returns wrong result" bug
1 parent 99950cf commit 56313f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Omnipay/Ukash/Message/Response.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ public function __construct($request, $data)
3636
*/
3737
public function isSuccessful()
3838
{
39-
if ($this->data->errCode !== '0') {
39+
if ($this->data->errCode != '0') {
4040
return false;
4141
} elseif (!isset($this->data->TransactionCode)) {
4242
return false;
43-
} elseif ($this->data->TransactionCode !== '0') {
43+
} elseif ($this->data->TransactionCode != '0') {
4444
return false;
4545
} elseif ($this->data->SecurityToken != $this->getRequest()->getResponseSecurityToken()) {
4646
return false;

0 commit comments

Comments
 (0)