DataObjects/Core_notify.php
authorAlan Knowles <alan@roojs.com>
Wed, 10 Jul 2013 11:56:09 +0000 (19:56 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 10 Jul 2013 11:56:09 +0000 (19:56 +0800)
DataObjects/Core_notify.php

index 2ff9c4c..a259651 100644 (file)
@@ -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';