projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bce5842
)
NotifySend.php
author
leon
<leon@roojs.com>
Tue, 1 Mar 2022 09:13:13 +0000
(17:13 +0800)
committer
leon
<leon@roojs.com>
Tue, 1 Mar 2022 09:13:13 +0000
(17:13 +0800)
NotifySend.php
patch
|
blob
|
history
diff --git
a/NotifySend.php
b/NotifySend.php
index
ac1970f
..
fd50055
100644
(file)
--- a/
NotifySend.php
+++ b/
NotifySend.php
@@
-101,6
+101,8
@@
class Pman_Core_NotifySend extends Pman
if (!$w->get($id)) {
$this->errorHandler("invalid id\n");
}
+ $ev = $this->addEvent('NOTIFYFAIL', $w, isset($email['error']) ?
+ $email['error'] : "INTERNAL ERROR - We can not handle " . $w->ontable);
$this->errorHandler("test\n");
if (!$force && strtotime($w->act_when) < strtotime($w->sent)) {