projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6704b45
)
MessagePreview.php
author
Alan
<alan@roojs.com>
Thu, 29 Sep 2022 07:57:05 +0000
(15:57 +0800)
committer
Alan
<alan@roojs.com>
Thu, 29 Sep 2022 07:57:05 +0000
(15:57 +0800)
MessagePreview.php
patch
|
blob
|
history
diff --git
a/MessagePreview.php
b/MessagePreview.php
index
0794be5
..
771cf04
100644
(file)
--- a/
MessagePreview.php
+++ b/
MessagePreview.php
@@
-35,6
+35,8
@@
class Pman_Core_MessagePreview extends Pman
$this->jerr("invalid id/name");
}
+ $this->showHtml = isset($_REQUEST['_as_html']) ? true : false;
+
if (isset($_REQUEST['ontable']) && !empty($_REQUEST['onid']) && !empty($_REQUEST['evtype'])) {
$tn = preg_replace('/[^a-z_]+/i', '', $_REQUEST['ontable']);
@@
-69,7
+71,7
@@
class Pman_Core_MessagePreview extends Pman
$this->msg = $mlq;
- $this->showHtml = isset($_REQUEST['_as_html']) ? true : false;
+
}