Skip to content
This repository has been archived by the owner on Oct 20, 2021. It is now read-only.

Commit

Permalink
Whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
kalaspuff committed Sep 30, 2013
1 parent fe77772 commit 8a05511
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Billogram/Api.php
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ private function checkApiResponse($response, $expectContentType = null)
'combination is wrong, check the credentials used and ' .
'possibly generate a new set');
}

if ($response->headers['content-type'] != $expectContentType) {
if ($response->headers['content-type'] == 'application/json') {
$data = json_decode($response->content);
Expand Down

0 comments on commit 8a05511

Please sign in to comment.