aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);