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

index 7686e72..eaf2ecd 100644 (file)
@@ -435,7 +435,7 @@ class Pman_Core_NotifySend extends Pman
             return $object->$m($rcpt, $last_sent_date, $notify, $force);
         }
                 
-        if (!method_exists($object, $m)) {
+        if (!method_exists($object, 'toEmail')) {
             print_r($object);
         }
         return $object->toEmail($rcpt, $last_sent_date, $notify, $force);