projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74ebdb0
)
MessagePreview.php
author
edward
<edward@roojs.com>
Mon, 18 Jul 2016 08:39:50 +0000
(16:39 +0800)
committer
edward
<edward@roojs.com>
Mon, 18 Jul 2016 08:39:50 +0000
(16:39 +0800)
MessagePreview.php
patch
|
blob
|
history
diff --git
a/MessagePreview.php
b/MessagePreview.php
index
5066c08
..
161b830
100644
(file)
--- a/
MessagePreview.php
+++ b/
MessagePreview.php
@@
-83,7
+83,9
@@
class Pman_Core_MessagePreview extends Pman
$x = new $cls;
- if(!method_exists($x, ''))
+ if(!method_exists($x, "test_{$core_email->name}")){
+ $this->jerr("Function test_{$core_email->name} does not exists");
+ }
}
}