projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1bedea1
)
NotifySend.php
author
Alan Knowles
<alan@akkbhome.com>
Wed, 6 Apr 2011 15:09:05 +0000
(23:09 +0800)
committer
Alan Knowles
<alan@akkbhome.com>
Wed, 6 Apr 2011 15:09:05 +0000
(23:09 +0800)
NotifySend.php
patch
|
blob
|
history
diff --git
a/NotifySend.php
b/NotifySend.php
index
f217704
..
93e9a42
100644
(file)
--- a/
NotifySend.php
+++ b/
NotifySend.php
@@
-54,10
+54,10
@@
class Pman_Core_NotifySend extends Pman
$l->orderBy('sent DESC');
$l->limit(1);
$ar = $l->fetchAll('sent');
- $last = empty($ar) ? date('Y-m-d H:i:s', 0) : $ar[
'sent'
];
+ $last = empty($ar) ? date('Y-m-d H:i:s', 0) : $ar[
0
];
- $email = $o->toEmail($p,
)
+ $email = $o->toEmail($p,
$last);
// should we fetch the watch that caused it.. - which should contain the method to call..