From 6ed4e5b2ef5bc5e314232f102b9217dad526d624 Mon Sep 17 00:00:00 2001 From: Alan Date: Tue, 31 Oct 2023 15:32:57 +0800 Subject: [PATCH] fix pending query --- DataObjects/Core_notify.php | 1 + 1 file changed, 1 insertion(+) 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'; -- 2.39.2