NotifySend.php
authorAlan Knowles <alan@akbkhome.com>
Fri, 25 May 2012 10:41:42 +0000 (18:41 +0800)
committerAlan Knowles <alan@akbkhome.com>
Fri, 25 May 2012 10:41:42 +0000 (18:41 +0800)
NotifySend.php

index eac0c32..dc9ff7f 100644 (file)
@@ -402,8 +402,8 @@ class Pman_Core_NotifySend extends Pman
         $m = 'notify'. $notify->evtype;
         var_dump($m);
         
-        if (!empty($notify->evtype) && method_exists($object,'notify'. $notify->evtype)) {
-            $object->$m($rcpt, $last_sent_date, $notify, $force);
+        if (!empty($notify->evtype) && method_exists($object,$m)) {
+            return $object->$m($rcpt, $last_sent_date, $notify, $force);
         }