projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a31ec85
)
Notify.php
author
Alan Knowles
<alan@akbkhome.com>
Thu, 11 Aug 2011 03:04:59 +0000
(11:04 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 11 Aug 2011 03:04:59 +0000
(11:04 +0800)
Notify.php
patch
|
blob
|
history
diff --git
a/Notify.php
b/Notify.php
index
3082b6b
..
92541c1
100644
(file)
--- 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";