diff options
author | friendica <info@friendica.com> | 2012-11-05 01:25:08 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-11-05 01:25:08 -0800 |
commit | 2752b58f3323a15b964f6518b7720cb81ccf1b0e (patch) | |
tree | 6291006fdbe002d63adcca5a6c369457d10765e3 /mod/editpost.php | |
parent | 5f85f65dcc71c4fea12a2227b5773b991d19199f (diff) | |
download | volse-hubzilla-2752b58f3323a15b964f6518b7720cb81ccf1b0e.tar.gz volse-hubzilla-2752b58f3323a15b964f6518b7720cb81ccf1b0e.tar.bz2 volse-hubzilla-2752b58f3323a15b964f6518b7720cb81ccf1b0e.zip |
plaintext default - richtext is a feature
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>'; |