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();
}
$lf = '<br />';
if(local_user() && intval(get_pconfig(local_user(),'system','plaintext')))
$lf = "\n";
$lf = "\n";
echo $lf . $lf . '[attachment]' . $r[0]['id'] . '[/attachment]' . $lf;