Skip to content

Commit 774317b

Browse files
committed
Fixed minor bug
1 parent 475c889 commit 774317b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Paylike/Adapter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public function request( $url, $data = null, $httpVerb = 'post' ) {
7575
$httpCode = curl_getinfo( $ch, CURLINFO_HTTP_CODE );
7676
curl_close( $ch );
7777
$output = json_decode( $result, true );
78-
if ( $httpCode >= 200 || $httpCode <= 299 ) {
78+
if ( $httpCode >= 200 && $httpCode <= 299 ) {
7979
return $output;
8080
} else {
8181
return false;

0 commit comments

Comments
 (0)