diff options
author | zottel <github@zottel.net> | 2012-04-20 13:42:33 +0200 |
---|---|---|
committer | zottel <github@zottel.net> | 2012-04-20 13:42:33 +0200 |
commit | 9663299da1be50eef4327778fae619fc6f9edef4 (patch) | |
tree | 5cd9b93f16c344cf896ac8d4e2a4a818fe21e783 /mod/wall_attach.php | |
parent | 041f74dc775424f686a1cd95c00e0d63bfc4b99c (diff) | |
parent | 0e25376e4afea4e5d96c233594feef0a35ca314c (diff) | |
download | volse-hubzilla-9663299da1be50eef4327778fae619fc6f9edef4.tar.gz volse-hubzilla-9663299da1be50eef4327778fae619fc6f9edef4.tar.bz2 volse-hubzilla-9663299da1be50eef4327778fae619fc6f9edef4.zip |
Merge remote branch 'upstream/master'
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 } |