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