aboutsummaryrefslogtreecommitdiffstats
path: root/mod/wall_attach.php
diff options
context:
space:
mode:
authorMichael <icarus@dabo.de>2012-05-16 08:10:28 +0200
committerMichael <icarus@dabo.de>2012-05-16 08:10:28 +0200
commit2b8c4df544f59d611ad1e8fc0dbc5fcd38bee8f7 (patch)
tree8c569c61c06e50c943addc132286d44c2f8ec178 /mod/wall_attach.php
parent188829ed46be6d3c7a91380226e26e8292c327be (diff)
parenta3f08c44be78d4517e9f1619811def09b2ec7e7a (diff)
downloadvolse-hubzilla-2b8c4df544f59d611ad1e8fc0dbc5fcd38bee8f7.tar.gz
volse-hubzilla-2b8c4df544f59d611ad1e8fc0dbc5fcd38bee8f7.tar.bz2
volse-hubzilla-2b8c4df544f59d611ad1e8fc0dbc5fcd38bee8f7.zip
Merge branch 'master' of github.com:annando/friendica
Diffstat (limited to 'mod/wall_attach.php')
-rw-r--r--mod/wall_attach.php7
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
}