projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b0fc26
)
MessagePreview.php
author
edward
<edward@roojs.com>
Mon, 18 Jul 2016 08:40:41 +0000
(16:40 +0800)
committer
edward
<edward@roojs.com>
Mon, 18 Jul 2016 08:40:41 +0000
(16:40 +0800)
MessagePreview.php
patch
|
blob
|
history
diff --git
a/MessagePreview.php
b/MessagePreview.php
index
df5ca57
..
c57a8cf
100644
(file)
--- a/
MessagePreview.php
+++ b/
MessagePreview.php
@@
-84,7
+84,7
@@
class Pman_Core_MessagePreview extends Pman
$x = new $cls;
$method = "test_{$core_email->name}";
- $this->jerr("{$method} does not exists in {$cls}");
+
if(!method_exists($x, $method)){
$this->jerr("{$method} does not exists in {$cls}");
}