diff options
author | Tobias Diekershoff <tobias.diekershoff@gmx.net> | 2012-04-17 18:07:20 +0200 |
---|---|---|
committer | Tobias Diekershoff <tobias.diekershoff@gmx.net> | 2012-04-17 18:07:20 +0200 |
commit | dbff4252d4ac7ccc1cda6b378a53c6761ea4c49d (patch) | |
tree | 23e17c4ceb420292d2dff3137ad4723f3d94fb4f /mod/wall_attach.php | |
parent | 757e3429ac6928c45ffebf0b64288e63efbc6322 (diff) | |
parent | b30c761aae7e01e6fe727232e48b14303484a228 (diff) | |
download | volse-hubzilla-dbff4252d4ac7ccc1cda6b378a53c6761ea4c49d.tar.gz volse-hubzilla-dbff4252d4ac7ccc1cda6b378a53c6761ea4c49d.tar.bz2 volse-hubzilla-dbff4252d4ac7ccc1cda6b378a53c6761ea4c49d.zip |
Merge branch 'master' of https://github.com/friendica/friendica
Diffstat (limited to 'mod/wall_attach.php')
-rw-r--r-- | mod/wall_attach.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/mod/wall_attach.php b/mod/wall_attach.php index bee7c29dc..03d9f5105 100644 --- a/mod/wall_attach.php +++ b/mod/wall_attach.php @@ -98,8 +98,13 @@ function wall_attach_post(&$a) { killme(); } - echo '<br /><br />[attachment]' . $r[0]['id'] . '[/attachment]' . '<br />'; + $lf = '<br />'; + if(local_user() && intval(get_pconfig(local_user(),'system','plaintext'))) + $lf = "\n"; + + echo $lf . $lf . '[attachment]' . $r[0]['id'] . '[/attachment]' . $lf; + killme(); // NOTREACHED } |