aboutsummaryrefslogtreecommitdiffstats
path: root/mod/editpost.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/editpost.php')
-rwxr-xr-xmod/editpost.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/mod/editpost.php b/mod/editpost.php
index f23b305f0..778ac3dcc 100755
--- a/mod/editpost.php
+++ b/mod/editpost.php
@@ -28,6 +28,10 @@ function editpost_content(&$a) {
return;
}
+ $plaintext = false;
+ if(local_user() && intval(get_pconfig(local_user(),'system','plaintext')))
+ $plaintext = true;
+
$o .= '<h2>' . t('Edit post') . '</h2>';