aboutsummaryrefslogtreecommitdiffstats
path: root/mod/wall_attach.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-07-01 16:23:25 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-07-01 16:23:25 -0700
commit75560b0496d431ebbaf5b40951149728e1b78716 (patch)
tree33046ef46c131f062d075f1373f2b902ad776321 /mod/wall_attach.php
parentd5c085a3c6e04ff53b81e47d74cc4381c5ef5875 (diff)
downloadvolse-hubzilla-75560b0496d431ebbaf5b40951149728e1b78716.tar.gz
volse-hubzilla-75560b0496d431ebbaf5b40951149728e1b78716.tar.bz2
volse-hubzilla-75560b0496d431ebbaf5b40951149728e1b78716.zip
turn attached audio/video into audio/video elements as well as providing an attachment link
Diffstat (limited to 'mod/wall_attach.php')
-rw-r--r--mod/wall_attach.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/mod/wall_attach.php b/mod/wall_attach.php
index 4e30556b6..f08f931c2 100644
--- a/mod/wall_attach.php
+++ b/mod/wall_attach.php
@@ -53,8 +53,7 @@ function wall_attach_post(&$a) {
if($using_api)
return;
}
- else
- echo "\n\n" . '[attachment]' . $r['data']['hash'] . ',' . $r['data']['revision'] . '[/attachment]' . "\n";
+ echo "\n\n" . '[attachment]' . $r['data']['hash'] . ',' . $r['data']['revision'] . '[/attachment]' . "\n";
killme();
}