From 4649d5ddd381ba49725c5d1bd88fc93dfb01b0f4 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Thu, 11 Aug 2011 11:04:59 +0800 Subject: [PATCH] Notify.php --- Notify.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Notify.php b/Notify.php index 3082b6b7..92541c10 100644 --- a/Notify.php +++ b/Notify.php @@ -83,6 +83,9 @@ class Pman_Core_Notify extends Pman $ar = $w->fetchAll(); if (!empty($opts['list'])) { + if (empty($ar)) { + die("Nothing in Queue\n"); + } foreach($ar as $w) { $o = $w->object(); echo "$e->id : $w->person_id_email email : ". $o->toEventString()."\n"; -- 2.39.2