projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50bb828
)
DataObjects/Core_notify.php
author
Alan Knowles
<alan@roojs.com>
Thu, 13 Feb 2014 07:37:59 +0000
(15:37 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 13 Feb 2014 07:37:59 +0000
(15:37 +0800)
DataObjects/Core_notify.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_notify.php
b/DataObjects/Core_notify.php
index
edb070c
..
790d475
100644
(file)
--- a/
DataObjects/Core_notify.php
+++ b/
DataObjects/Core_notify.php
@@
-190,6
+190,9
@@
class Pman_Core_DataObjects_Core_notify extends DB_DataObject
case 'PENDING';
$this->whereAdd('event_id = 0 OR (event_id > 0 AND act_when > NOW() )');
break;
+ case 'OPENED';
+ $this->whereAdd('is_open > 0');
+ break;
case 'ALL':
default:
break;