debug sms issue
authorMark <mark@nirph.com>
Wed, 11 Jan 2017 09:54:35 +0000 (11:54 +0200)
committerMark <mark@nirph.com>
Wed, 11 Jan 2017 09:54:35 +0000 (11:54 +0200)
module/Utility/src/Utility/Comms/Notification.php
module/Utility/src/Utility/Comms/Sms.php

index 410620c..309476a 100644 (file)
@@ -78,9 +78,9 @@ class Notification
                $disableSms = false, $offline = false
        )
        {
-               \Utility\Debug::errorLog("send from template","sms:".$mobile." email:".$email);
+               var_dump("send from template","sms:".$mobile." email:".$email);
 
-               error_log('Template sending: ' . $templateName);
+               var_dump('Template sending: ' . $templateName);
 
                #-> Unsubscribe check.
                $em = \Utility\Registry::getEntityManager();
index 4dcec59..fa36445 100644 (file)
@@ -265,7 +265,7 @@ class Sms
               . "&text=".substr(urlencode($this->sBody),0,620);
 
         \Utility\Debug::errorLog("sms url", $sUrl);
-        error_log("sms url", $sUrl);
+        var_dump("sms url", $sUrl);
 
         if (!empty($this->sSmscId))
         {