aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-10-24 21:15:32 +1100
committerfriendica <info@friendica.com>2012-10-24 21:15:32 +1100
commit2b95ce9f07bcf2d85eeb410f6d9bc4b3f2b54b86 (patch)
tree08b2e1c3d9c8bc7de47dad38aeab2ba767f12000
parent336f5e8c87656cc63e1242ffe922b48c1433333a (diff)
downloadvolse-hubzilla-2b95ce9f07bcf2d85eeb410f6d9bc4b3f2b54b86.tar.gz
volse-hubzilla-2b95ce9f07bcf2d85eeb410f6d9bc4b3f2b54b86.tar.bz2
volse-hubzilla-2b95ce9f07bcf2d85eeb410f6d9bc4b3f2b54b86.zip
wall photo uploads brought back
-rw-r--r--mod/wall_upload.php2
1 files changed, 1 insertions, 1 deletions
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);