aboutsummaryrefslogtreecommitdiffstats
path: root/include/attach.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-11-07 19:41:22 +0000
committerMario <mario@mariovavti.com>2022-11-07 19:41:22 +0000
commit839c5a8e412aa3f22365d9fa8fe7a08cd2bc9378 (patch)
tree5117971b14459c195cfb545f718b98919485120c /include/attach.php
parent40d74fa779bbb079e844f9644d7677b06103b8f3 (diff)
downloadvolse-hubzilla-839c5a8e412aa3f22365d9fa8fe7a08cd2bc9378.tar.gz
volse-hubzilla-839c5a8e412aa3f22365d9fa8fe7a08cd2bc9378.tar.bz2
volse-hubzilla-839c5a8e412aa3f22365d9fa8fe7a08cd2bc9378.zip
fix regression where automatically created directories were not public and pinned/featured state of apps was not displayed correctly
Diffstat (limited to 'include/attach.php')
-rw-r--r--include/attach.php11
1 files changed, 5 insertions, 6 deletions
diff --git a/include/attach.php b/include/attach.php
index 3b63bd651..fd418103d 100644
--- a/include/attach.php
+++ b/include/attach.php
@@ -707,13 +707,12 @@ function attach_store($channel, $observer_hash, $options = '', $arr = null) {
$darr = array('pathname' => $pathname);
- // if we need to create a directory, use the channel default permissions.
-
- $darr['allow_cid'] = $channel['channel_allow_cid'];
- $darr['allow_gid'] = $channel['channel_allow_gid'];
- $darr['deny_cid'] = $channel['channel_deny_cid'];
- $darr['deny_gid'] = $channel['channel_deny_gid'];
+ // if we need to create a directory at this point, make it public
+ $darr['allow_cid'] = '';
+ $darr['allow_gid'] = '';
+ $darr['deny_cid'] = '';
+ $darr['deny_gid'] = '';
$direct = null;