From feb00d3c9e654cf55b884056e64cf8ce4fe32a35 Mon Sep 17 00:00:00 2001 From: Edward Date: Wed, 11 Feb 2015 14:30:33 +0800 Subject: [PATCH] DataObjects/Core_notify.php --- DataObjects/Core_notify.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/DataObjects/Core_notify.php b/DataObjects/Core_notify.php index c420e57a..a0631a9a 100644 --- a/DataObjects/Core_notify.php +++ b/DataObjects/Core_notify.php @@ -237,6 +237,12 @@ class Pman_Core_DataObjects_Core_notify extends DB_DataObject "); } + if(!empty($q['to'])){ + $this->whereAdd(" + act_when <= '{$q['to']}' + "); + } + } } -- 2.39.2