projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ff8350
)
NotifySend.php
author
Chris
<chris@roojs.com>
Fri, 25 May 2012 09:47:48 +0000
(17:47 +0800)
committer
Chris
<chris@roojs.com>
Fri, 25 May 2012 09:47:48 +0000
(17:47 +0800)
NotifySend.php
patch
|
blob
|
history
diff --git
a/NotifySend.php
b/NotifySend.php
index
23a2f70
..
a7af244
100644
(file)
--- a/
NotifySend.php
+++ b/
NotifySend.php
@@
-395,6
+395,12
@@
class Pman_Core_NotifySend extends Pman
**/
function makeEmail($object, $rcpt, $last_sent_date, $notify, $force =false)
{
+ $m = 'notify'. $notify->evtype;
+ if (!empty($notify->evtype) && method_exists($object,'notify'. $notify->evtype)) {
+ $object->$m($rcpt, $last_sent_date, $notify, $force)
+ }
+
+
return $object->toEmail($rcpt, $last_sent_date, $notify, $force);
}