aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-06-15 19:52:17 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-06-15 19:52:17 -0700
commit2adc7a51ad0e3893efc9aac852e3b80d75d9a65d (patch)
tree7386dbe6ffcc8ff91c3f2037bcd8d2f3b55264ec /mod
parent8c7472c6c337f0cf58d744433e3de70ab33b430b (diff)
downloadvolse-hubzilla-2adc7a51ad0e3893efc9aac852e3b80d75d9a65d.tar.gz
volse-hubzilla-2adc7a51ad0e3893efc9aac852e3b80d75d9a65d.tar.bz2
volse-hubzilla-2adc7a51ad0e3893efc9aac852e3b80d75d9a65d.zip
photo upload: pass in the contact_allow and resource_id via include/attach.php
Diffstat (limited to 'mod')
-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 c3c0bff03..04ab59146 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'));
+ $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);