From 53c3aa7723a4b8d665c419a85344c842759eb5c5 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 29 Sep 2011 22:24:21 +0800 Subject: [PATCH] NotifyAction.php --- NotifyAction.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NotifyAction.php b/NotifyAction.php index 20116a45..8b0b9156 100644 --- a/NotifyAction.php +++ b/NotifyAction.php @@ -55,7 +55,7 @@ class Pman_Core_NotifyAction extends Pman } $ids = explode(',', $_POST['on_id']); $n->whereAdd('sent < act_when'); // not issued yet.. - $n->whereAdd("join_watch_id_id.medium = '". $n->escape($k) ."'"); + $n->whereAdd("join_watch_id_id.medium = '". $n->escape($n->action) ."'"); $n->whereAddIn('core_notify.id', $ids, 'int' ); $n->autoJoin(); $ar = $n->fetchAll(); -- 2.39.2