projects
/
Pman.Core
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
MessagePreview.php
[Pman.Core]
/
MessagePreview.php
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}");
}