From 2b95ce9f07bcf2d85eeb410f6d9bc4b3f2b54b86 Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 24 Oct 2012 21:15:32 +1100 Subject: wall photo uploads brought back --- mod/wall_upload.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/wall_upload.php b/mod/wall_upload.php index ec957108d..8abb7e5a7 100644 --- a/mod/wall_upload.php +++ b/mod/wall_upload.php @@ -129,7 +129,7 @@ function wall_upload_post(&$a) { $smallest = 0; - $defperm = '<' . $default_cid . '>'; + $defperm = '<' . $channel['channel_hash'] . '>'; $r = $ph->store($page_owner_uid, $visitor, $hash, $filename, t('Wall Photos'), 0, 0, $defperm); -- cgit v1.2.3