DataObjects/Core_notify.php
authorEdward <edward@roojs.com>
Wed, 11 Feb 2015 06:30:33 +0000 (14:30 +0800)
committerEdward <edward@roojs.com>
Wed, 11 Feb 2015 06:30:33 +0000 (14:30 +0800)
DataObjects/Core_notify.php

index c420e57..a0631a9 100644 (file)
@@ -237,6 +237,12 @@ class Pman_Core_DataObjects_Core_notify extends DB_DataObject
             ");
         }
         
+        if(!empty($q['to'])){
+            $this->whereAdd("
+                act_when <= '{$q['to']}'
+            ");
+        }
+        
     }
     
 }