diff options
Diffstat (limited to 'mod/editpost.php')
-rw-r--r-- | mod/editpost.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mod/editpost.php b/mod/editpost.php index b705afa4b..73faa59c5 100644 --- a/mod/editpost.php +++ b/mod/editpost.php @@ -28,9 +28,9 @@ function editpost_content(&$a) { return; } - $plaintext = false; - if(local_user() && intval(get_pconfig(local_user(),'system','plaintext'))) - $plaintext = true; + $plaintext = true; + if(feature_enabled(local_user(),'richtext')) + $plaintext = false; $o .= '<h2>' . t('Edit post') . '</h2>'; |