From bdedda7c6b4bf85b5fae151e6d93efe3f01dffa3 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Mon, 15 Jun 2015 20:43:49 -0700 Subject: fix attachment permissions when they also contain an image. --- mod/wall_attach.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/wall_attach.php') 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); -- cgit v1.2.3