default bbcode - don't check editor pref

This commit is contained in:
friendica 2012-12-03 01:05:10 -08:00
parent 531fbff90b
commit 1ad4f5247c
1 changed files with 1 additions and 4 deletions

View File

@ -122,10 +122,7 @@ function wall_attach_post(&$a) {
killme(); killme();
} }
$lf = '<br />'; $lf = "\n";
if(local_user() && intval(get_pconfig(local_user(),'system','plaintext')))
$lf = "\n";
echo $lf . $lf . '[attachment]' . $r[0]['id'] . '[/attachment]' . $lf; echo $lf . $lf . '[attachment]' . $r[0]['id'] . '[/attachment]' . $lf;