projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71c602c
)
DataObjects/Core_notify.php
author
Alan Knowles
<alan@roojs.com>
Wed, 10 Jul 2013 11:53:39 +0000
(19:53 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 10 Jul 2013 11:53:39 +0000
(19:53 +0800)
DataObjects/Core_notify.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_notify.php
b/DataObjects/Core_notify.php
index
8a6c2a6
..
cd30a2a
100644
(file)
--- 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() ');