Index: openacs-4/packages/notifications/tcl/sweep-procs-postgresql.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/notifications/tcl/sweep-procs-postgresql.xql,v diff -u -r1.9 -r1.10 --- openacs-4/packages/notifications/tcl/sweep-procs-postgresql.xql 27 Jun 2007 18:54:48 -0000 1.9 +++ openacs-4/packages/notifications/tcl/sweep-procs-postgresql.xql 2 Sep 2008 22:32:00 -0000 1.10 @@ -34,7 +34,7 @@ left outer join notification_user_map using (notification_id, user_id) where sent_date is null and creation_date <= notif_date - and notif_date < current_timestamp + and (notif_date is null or notif_date < current_timestamp) and interval_id = :interval_id order by user_id, type_id, notif_date