aboutsummaryrefslogtreecommitdiffstats
path: root/mod/profiles.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-11-05 01:25:08 -0800
committerfriendica <info@friendica.com>2012-11-05 01:25:08 -0800
commit2752b58f3323a15b964f6518b7720cb81ccf1b0e (patch)
tree6291006fdbe002d63adcca5a6c369457d10765e3 /mod/profiles.php
parent5f85f65dcc71c4fea12a2227b5773b991d19199f (diff)
downloadvolse-hubzilla-2752b58f3323a15b964f6518b7720cb81ccf1b0e.tar.gz
volse-hubzilla-2752b58f3323a15b964f6518b7720cb81ccf1b0e.tar.bz2
volse-hubzilla-2752b58f3323a15b964f6518b7720cb81ccf1b0e.zip
plaintext default - richtext is a feature
Diffstat (limited to 'mod/profiles.php')
-rw-r--r--mod/profiles.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/mod/profiles.php b/mod/profiles.php
index f1e67b86b..9661fac69 100644
--- a/mod/profiles.php
+++ b/mod/profiles.php
@@ -454,9 +454,9 @@ function profiles_content(&$a) {
require_once('include/profile_selectors.php');
- $editselect = 'textareas';
- if(intval(get_pconfig(local_user(),'system','plaintext')))
- $editselect = 'none';
+ $editselect = 'none';
+ if(feature_enabled(local_user(),'richtext'))
+ $editselect = 'textareas';
$a->page['htmlhead'] .= replace_macros(get_markup_template('profed_head.tpl'), array(
'$baseurl' => $a->get_baseurl(true),