Skip to content
This repository was archived by the owner on Dec 6, 2019. It is now read-only.

Commit

Permalink
Fixed issue with contentType checking
Browse files Browse the repository at this point in the history
  • Loading branch information
alecritson committed Oct 28, 2015
1 parent f876776 commit b32a1bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion placid/PlacidPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function getName()
}
function getVersion()
{
return '1.6.2';
return '1.6.3';
}
function getDeveloper()
{
Expand Down
3 changes: 2 additions & 1 deletion placid/services/Placid_RequestsService.php
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ private function _getResponse(Client $client, $request)
$contentType = 'application/json';
}

if($contentType = 'text/xml')
if($contentType == 'text/xml')
{
try {
$output = $response->xml();
Expand Down Expand Up @@ -526,4 +526,5 @@ private function _deleteWidgetsByRecord($id)
}
return true;
}

}

0 comments on commit b32a1bb

Please sign in to comment.