aboutsummaryrefslogtreecommitdiffstats
path: root/mod/wall_attach.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-06-15 20:43:49 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-06-15 20:43:49 -0700
commitbdedda7c6b4bf85b5fae151e6d93efe3f01dffa3 (patch)
tree7b3787ff491aac66a60256954b52940047faed65 /mod/wall_attach.php
parent2adc7a51ad0e3893efc9aac852e3b80d75d9a65d (diff)
downloadvolse-hubzilla-bdedda7c6b4bf85b5fae151e6d93efe3f01dffa3.tar.gz
volse-hubzilla-bdedda7c6b4bf85b5fae151e6d93efe3f01dffa3.tar.bz2
volse-hubzilla-bdedda7c6b4bf85b5fae151e6d93efe3f01dffa3.zip
fix attachment permissions when they also contain an image.
Diffstat (limited to 'mod/wall_attach.php')
-rw-r--r--mod/wall_attach.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/wall_attach.php b/mod/wall_attach.php
index 04ab59146..9ce16d190 100644
--- a/mod/wall_attach.php
+++ b/mod/wall_attach.php
@@ -38,7 +38,7 @@ function wall_attach_post(&$a) {
// }
// }
- $r = attach_store($channel,(($observer) ? $observer['xchan_hash'] : ''),array('source' => 'editor', 'visible' => 0, 'contact_allow' => array($channel['channel_hash'])));
+ $r = attach_store($channel,(($observer) ? $observer['xchan_hash'] : ''),'', array('source' => 'editor', 'visible' => 0, 'contact_allow' => array($channel['channel_hash'])));
if(! $r['success']) {
notice( $r['message'] . EOL);