projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
533d56d
)
MessagePreview.php
author
edward
<edward@roojs.com>
Mon, 18 Jul 2016 08:32:25 +0000
(16:32 +0800)
committer
edward
<edward@roojs.com>
Mon, 18 Jul 2016 08:32:25 +0000
(16:32 +0800)
MessagePreview.php
patch
|
blob
|
history
diff --git
a/MessagePreview.php
b/MessagePreview.php
index
db0deab
..
beae16c
100644
(file)
--- a/
MessagePreview.php
+++ b/
MessagePreview.php
@@
-72,7
+72,7
@@
class Pman_Core_MessagePreview extends Pman
if(!$core_email->get($_REQUEST['_id'])){
$this->jerr('Invalid Message ID');
}
- $this->jerr("[{$core_email->name}] does not has test class");
+
if(empty($core_email->test_class)){
$this->jerr("[{$core_email->name}] does not has test class");
}