NotifySend.php
authorAlan Knowles <alan@roojs.com>
Wed, 17 Oct 2012 06:26:27 +0000 (14:26 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 17 Oct 2012 06:26:27 +0000 (14:26 +0800)
NotifySend.php

index f83b436..23373f2 100644 (file)
@@ -429,13 +429,13 @@ class Pman_Core_NotifySend extends Pman
     function makeEmail($object, $rcpt, $last_sent_date, $notify, $force =false)
     {
         $m = 'notify'. $notify->evtype;
-        var_dump($m);
+        //var_dump($m);
         
         if (!empty($notify->evtype) && method_exists($object,$m)) {
             return $object->$m($rcpt, $last_sent_date, $notify, $force);
         }
                 
-        
+        if (!method_exists)
         return $object->toEmail($rcpt, $last_sent_date, $notify, $force);
     }