From: Alan Date: Tue, 31 Oct 2023 07:32:57 +0000 (+0800) Subject: fix pending query X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=6ed4e5b2ef5bc5e314232f102b9217dad526d624 fix pending query --- diff --git a/DataObjects/Core_notify.php b/DataObjects/Core_notify.php index 0997d37e..d8f343ab 100644 --- a/DataObjects/Core_notify.php +++ b/DataObjects/Core_notify.php @@ -279,6 +279,7 @@ class Pman_Core_DataObjects_Core_notify extends DB_DataObject break; case 'PENDING'; $this->whereAdd('event_id = 0 OR (event_id > 0 AND act_when > NOW() )'); + $this->whereAdd("sent < '2000-01-01'"); break; case 'OPENED';