X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=blobdiff_plain;f=DataObjects%2FCore_notify.php;h=a0631a9ae4f5ce0b679d6fc136e4fccd9a44a9de;hp=c420e57afc45cbbe2d93652f04f2958b35d8fc6a;hb=feb00d3c9e654cf55b884056e64cf8ce4fe32a35;hpb=ec5801fe556d8f9988998652dd2ff9bab20c5e13 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']}' + "); + } + } }