projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71ece66
)
DataObjects/Core_notify.php
author
Alan Knowles
<alan@roojs.com>
Thu, 24 Sep 2020 03:52:10 +0000
(11:52 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 24 Sep 2020 03:52:10 +0000
(11:52 +0800)
DataObjects/Core_notify.php
patch
|
blob
|
history
diff --git
a/DataObjects/Core_notify.php
b/DataObjects/Core_notify.php
index
7c8c6e4
..
6cc632a
100644
(file)
--- a/
DataObjects/Core_notify.php
+++ b/
DataObjects/Core_notify.php
@@
-323,6
+323,11
@@
class Pman_Core_DataObjects_Core_notify extends DB_DataObject
$send = new Pman_Core_NotifySend();
$send->error_handler = 'exception';
+ if ($debug) {
+ $send->get($this->id, array());
+ return true;
+ }
+
try {
$send->get($this->id, array());
} catch (Exception $e) {