[horde] CVS nag patch - alert task notification

W. Tasin tasin at fhm.edu
Sat Apr 3 05:56:17 PST 2004


Hi,

here's a little patch which corrects listAlarms for datatree backend 
(made the if-clause like the sql-command in sql backend).
Ciao

Walter
-------------- next part --------------
--- nag/lib/Driver/datatree.php	Sun Mar 14 03:43:27 2004
+++ nag/lib/Driver/datatree.php	Sat Apr  3 10:28:54 2004
@@ -272,8 +272,8 @@
 
             // Check the alarm.
             if ($obj->get('alarm') > 0
-                && ($obj->get('due') - $obj->get('alarm') * 60) < $date
-                && $obj->get('due') < time() ){
+                && ($obj->get('due') - $obj->get('alarm') * 60) <= $date
+                && $obj->get('due') >= time() ){
                 $tasks[$task_id] = array(
                     'task_id'     => $task_id,
                     'tasklist_id' => $this->_tasklist,



More information about the horde mailing list