projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b2bfba
)
Notify.php
author
Alan Knowles
<alan@roojs.com>
Thu, 20 Aug 2015 02:45:58 +0000
(10:45 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 20 Aug 2015 02:45:58 +0000
(10:45 +0800)
Notify.php
patch
|
blob
|
history
diff --git
a/Notify.php
b/Notify.php
index
14fc01a
..
3bf3048
100644
(file)
--- a/
Notify.php
+++ b/
Notify.php
@@
-207,10
+207,9
@@
class Pman_Core_Notify extends Pman
$ar = array(); // $w->fetchAll();
if (!empty($opts['list'])) {
- if (empty($ar)) {
- die("Nothing in Queue\n");
- }
- foreach($ar as $w) {
+
+
+ while ($w->fetch()) {
$o = $w->object();