From da2da13880e2cc6cf1f5303dc4ced91342c9cb64 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Wed, 10 Jul 2013 19:56:09 +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 2ff9c4c8..a259651a 100644 --- a/DataObjects/Core_notify.php +++ b/DataObjects/Core_notify.php @@ -146,11 +146,11 @@ class Pman_Core_DataObjects_Core_notify extends DB_DataObject switch ($q['query']['status']) { case 'SUCCESS'; - $this->whereAdd("msg_id != ''"); + $this->whereAdd("msgid != ''"); break; case 'FAILED'; - $this->whereAdd("msg_id = '' AND event_id > 0 AND act_when < NOW()"); + $this->whereAdd("msgid = '' AND event_id > 0 AND act_when < NOW()"); break; case 'PENDING'; -- 2.39.2