NotifySend.php
[Pman.Core] / 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);