NotifySend.php
authorEdward <edward@roojs.com>
Thu, 5 Feb 2015 05:21:32 +0000 (13:21 +0800)
committerEdward <edward@roojs.com>
Thu, 5 Feb 2015 05:21:32 +0000 (13:21 +0800)
NotifySend.php

index 6311407..a51565e 100644 (file)
@@ -83,7 +83,7 @@ class Pman_Core_NotifySend extends Pman
     {
         
         //print_r($opts);
-        if ($opts['DB_DataObject-debug']) {
+        if (!empty($opts['DB_DataObject-debug'])) {
             DB_DataObject::debugLevel($opts['DB_DataObject-debug']);
         }
         //DB_DataObject::debugLevel(1);