Skip to content

Commit

Permalink
upravena podmienka
Browse files Browse the repository at this point in the history
  • Loading branch information
Michal Lokšík committed Feb 27, 2017
1 parent 1d7b6d6 commit c3fc8f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SmartEmailing.php
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ protected function callSmartemailingApiWithCurl($data) {

$xml = simplexml_load_string($response);

if ($xml) {
if ($xml !== FALSE) {
return $xml;
} else {
return $this->getErrorXml('500', 'Unknown Smartemailing API error.');
Expand Down

0 comments on commit c3fc8f2

Please sign in to comment.