From 58eba46bf3e5a5e7bf9725a10fe3f2117798213a Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 10 Jul 2013 19:54:19 +0800 Subject: [PATCH] DataObjects/Core_notify.php --- DataObjects/Core_notify.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/DataObjects/Core_notify.php b/DataObjects/Core_notify.php index cd30a2a1..bdf3b76a 100644 --- a/DataObjects/Core_notify.php +++ b/DataObjects/Core_notify.php @@ -149,7 +149,8 @@ class Pman_Core_DataObjects_Core_notify extends DB_DataObject $this->whereAdd("msg_id != ''"); break; case 'FAILED'; - $this->whereAdd('event_id > 0 AND act_when <= NOW() '); + + $this->whereAdd('msg_id = '' AND event_id > 0 '); break; case 'PENDING'; -- 2.39.2