default bbcode - don't check editor pref
This commit is contained in:
parent
531fbff90b
commit
1ad4f5247c
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue