From 57b459b80d8fb96d58d794c012e04ae1d1f7a643 Mon Sep 17 00:00:00 2001 From: Daniel Camargo Date: Mon, 25 Mar 2013 10:50:00 -0300 Subject: [PATCH] Issue #899 - debugging --- include/library/Crunchbutton/Notification.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/library/Crunchbutton/Notification.php b/include/library/Crunchbutton/Notification.php index ebdad3505..36d405de2 100644 --- a/include/library/Crunchbutton/Notification.php +++ b/include/library/Crunchbutton/Notification.php @@ -16,6 +16,14 @@ class Crunchbutton_Notification extends Cana_Table // $mail = ($env == 'live' ? $this->value : '_EMAIL'); $fax = ($env == 'live' ? $this->value : '_PHONE_'); + Log::debug([ + 'step' => '0', + 'id_notification' => $this->id_notification, + 'order' => $order->id_order, + 'notification_type' => $this->type, + 'type' => 'testing_notification' + ]); + switch ($this->type) { case 'fax': $mail = new Email_Order([