From: Edward Date: Wed, 2 Jul 2014 09:21:03 +0000 (+0800) Subject: Notify.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=4de1a3a9ac86a1a276485ca1a1655e264620d76d Notify.php --- diff --git a/Notify.php b/Notify.php index 1ec6f2d0..c9c6eaf1 100644 --- a/Notify.php +++ b/Notify.php @@ -134,7 +134,7 @@ class Pman_Core_Notify extends Pman if (empty($opts['limit'])) { $opts['limit'] = '1000'; // not sure why it's not picking up the defautl.. } - + $showold = !empty($opts['old']); if (!empty($opts['old'])) { $opts['list'] = 1; // force listing.. } @@ -174,7 +174,7 @@ class Pman_Core_Notify extends Pman $w = DB_DataObject::factory($this->table); - if (!$showold) { + if (!empty($opts['old']) { // standard