From: Alan Knowles Date: Wed, 10 Jul 2013 11:56:09 +0000 (+0800) Subject: DataObjects/Core_notify.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=da2da13880e2cc6cf1f5303dc4ced91342c9cb64 DataObjects/Core_notify.php --- 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';