NotifySend.php
authorChris <chris@roojs.com>
Tue, 16 Oct 2012 05:55:04 +0000 (13:55 +0800)
committerChris <chris@roojs.com>
Tue, 16 Oct 2012 05:55:04 +0000 (13:55 +0800)
NotifySend.php

index eed7ea3..861ff34 100644 (file)
@@ -212,7 +212,9 @@ class Pman_Core_NotifySend extends Pman
         if (!empty($opts['send-to'])) {
             $p->email = $opts['send-to'];
         }
-        
+        if (!empty($email['send-to'])) {
+            $p->email = $email['send-to'];
+        }
         require_once 'Validate.php';
         if (!Validate::email($p->email, true)) {
             $ev = $this->addEvent('NOTIFY', $w, "INVALID ADDRESS: " . $p->email);