From e3413794e03cec2a9c161423ec184186134f37aa Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 15 Aug 2011 14:46:41 +0800 Subject: [PATCH] Notify.php --- Notify.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Notify.php b/Notify.php index 3566b4ba..ed3d519c 100644 --- a/Notify.php +++ b/Notify.php @@ -84,7 +84,7 @@ class Pman_Core_Notify extends Pman if (!empty($opts['old'])) { $opts['list'] = 1; // force listing.. } - $force = empty($opts['force']) ? 0 : 1; + $this->force = empty($opts['force']) ? 0 : 1; $w = DB_DataObject::factory($this->table); @@ -92,7 +92,7 @@ class Pman_Core_Notify extends Pman if (!$showold) { $w->whereAdd('act_when > sent'); // eg.. sent is not valid.. - if (!$force) { + if (!$this->force) { $w->whereAdd('act_when < NOW()'); // eg.. not if future.. } -- 2.39.2