1
1
Fork 0

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

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;