diff --git a/mod/wall_attach.php b/mod/wall_attach.php index c23efc7869..8a355d6831 100644 --- a/mod/wall_attach.php +++ b/mod/wall_attach.php @@ -122,10 +122,7 @@ function wall_attach_post(&$a) { killme(); } - $lf = '
'; - - if(local_user() && intval(get_pconfig(local_user(),'system','plaintext'))) - $lf = "\n"; + $lf = "\n"; echo $lf . $lf . '[attachment]' . $r[0]['id'] . '[/attachment]' . $lf;