From 9c4e8e5b741fe9dcd74411f91e7bc6acd89dcfbb Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 10 Jul 2013 19:53:39 +0800 Subject: [PATCH] DataObjects/Core_notify.php --- DataObjects/Core_notify.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DataObjects/Core_notify.php b/DataObjects/Core_notify.php index 8a6c2a68..cd30a2a1 100644 --- a/DataObjects/Core_notify.php +++ b/DataObjects/Core_notify.php @@ -109,7 +109,7 @@ class Pman_Core_DataObjects_Core_notify extends DB_DataObject { switch($this->event_id) { case -1: - return 'DELIVERED'; / //not valid.. + return 'DELIVERED'; //not valid.. case 0: return 'PENDING'; default: @@ -146,7 +146,7 @@ class Pman_Core_DataObjects_Core_notify extends DB_DataObject switch ($q['query']['status']) { case 'SUCCESS'; - $this->whereAdd("event_id < 0"); + $this->whereAdd("msg_id != ''"); break; case 'FAILED'; $this->whereAdd('event_id > 0 AND act_when <= NOW() '); -- 2.39.2