X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=blobdiff_plain;f=DataObjects%2FCore_notify.php;fp=DataObjects%2FCore_notify.php;h=6cc632ab553d517b8366eb262da5abcb37b4b76b;hp=dbf012bb5b2c3aa37b43af22c5e35ffea6d2847f;hb=581a3326f8c30baf3b33873f2335042753295d2b;hpb=c8c28ad4fd428d676f271af4142af913d47f755a diff --git a/DataObjects/Core_notify.php b/DataObjects/Core_notify.php index dbf012bb..6cc632ab 100644 --- a/DataObjects/Core_notify.php +++ b/DataObjects/Core_notify.php @@ -1,7 +1,7 @@ error_handler = 'exception'; + if ($debug) { + $send->get($this->id, array()); + return true; + } + try { $send->get($this->id, array()); } catch (Exception $e) {