From 1ad4f5247c688fa05c01190c0e882f9c971d96ab Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 3 Dec 2012 01:05:10 -0800 Subject: [PATCH] default bbcode - don't check editor pref --- mod/wall_attach.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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;