projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e53f5d5
)
MessagePreview.php
author
edward
<edward@roojs.com>
Mon, 18 Jul 2016 08:45:14 +0000
(16:45 +0800)
committer
edward
<edward@roojs.com>
Mon, 18 Jul 2016 08:45:14 +0000
(16:45 +0800)
MessagePreview.php
patch
|
blob
|
history
diff --git
a/MessagePreview.php
b/MessagePreview.php
index
ec47b34
..
03354d7
100644
(file)
--- a/
MessagePreview.php
+++ b/
MessagePreview.php
@@
-91,6
+91,14
@@
class Pman_Core_MessagePreview extends Pman
$content = $x->{$method}($this, $this->authUser);
- $this->send($content);
+ $sent = $this->send($content);
+
+ if(!is_object($sent)){
+ $this->jok('SUCCESS');
+ }
+
+ $this->jerr('error!!:' . $sent->toString());
+
+
}
}