X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=blobdiff_plain;f=DataObjects%2FCore_notify.php;h=cd30a2a1389793c9ad60e7efe0dfe5705a9d4436;hp=8a6c2a68b40138d96c2b1fcacddad4c53a1d616a;hb=9c4e8e5b741fe9dcd74411f91e7bc6acd89dcfbb;hpb=71c602c9c5ab352069db3871e9457c6c3bc45d7e 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() ');