projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
fcac52a
)
NotifyAction.php
author
Alan Knowles
<alan@roojs.com>
Thu, 29 Sep 2011 14:30:08 +0000
(22:30 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 29 Sep 2011 14:30:08 +0000
(22:30 +0800)
NotifyAction.php
patch
|
blob
|
history
diff --git
a/NotifyAction.php
b/NotifyAction.php
index
f448ec8
..
7ec2462
100644
(file)
--- a/
NotifyAction.php
+++ b/
NotifyAction.php
@@
-56,10
+56,10
@@
class Pman_Core_NotifyAction extends Pman
}
$n->$k = $_POST[$k];
}
- $ids = explode(',', $_POST['on_id']);
+
$n->whereAdd('sent < act_when'); // not issued yet..
$n->whereAdd("join_watch_id_id.medium = '". $n->escape($n->action) ."'");
- $n->whereAddIn('core_notify.
id', $ids
, 'int' );
+ $n->whereAddIn('core_notify.
on_id', explode(',', $_POST['on_id'])
, 'int' );
$n->autoJoin();
$ar = $n->fetchAll();