From: Edward Date: Wed, 11 Feb 2015 06:30:33 +0000 (+0800) Subject: DataObjects/Core_notify.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=feb00d3c9e654cf55b884056e64cf8ce4fe32a35 DataObjects/Core_notify.php --- 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']}' + "); + } + } }