From 20a5bf061ecb5b78fe8b3f020fe3df1c0c905d6a Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 11 Aug 2011 11:18:06 +0800 Subject: [PATCH] DataObjects/Core_notify.php --- DataObjects/Core_notify.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/DataObjects/Core_notify.php b/DataObjects/Core_notify.php index fcb64fe3..aa2e8984 100644 --- a/DataObjects/Core_notify.php +++ b/DataObjects/Core_notify.php @@ -81,7 +81,11 @@ class Pman_Core_DataObjects_Core_notify extends DB_DataObject case 0: return 'PENDING'; default: - return $this->event()->remarks; + $p =''; + if (strtotime($this->act_when) > time()) { + $p = "RETRY: {$this->act_when} "; + } + return $p. $this->event()->remarks; } } -- 2.39.2