From c3fc8f284f8052f660624f378fb153aab018d82d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Lok=C5=A1=C3=ADk?= Date: Mon, 27 Feb 2017 12:46:08 +0100 Subject: [PATCH] upravena podmienka --- src/SmartEmailing.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SmartEmailing.php b/src/SmartEmailing.php index 909e02a..add7a90 100644 --- a/src/SmartEmailing.php +++ b/src/SmartEmailing.php @@ -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.');