diff options
author | Mario <mario@mariovavti.com> | 2022-11-07 19:53:03 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2022-11-07 19:53:03 +0000 |
commit | 23b272aafd7d7d6fe82430ef3382745351cf285c (patch) | |
tree | f25659844c56c8d1a552352825485efaccfa3529 /include | |
parent | 36b8b6bf6c8b7dc6bfd997e322493b0548103110 (diff) | |
parent | 057db41758daf85a1506fff8e5332db2dc62b2b9 (diff) | |
download | volse-hubzilla-23b272aafd7d7d6fe82430ef3382745351cf285c.tar.gz volse-hubzilla-23b272aafd7d7d6fe82430ef3382745351cf285c.tar.bz2 volse-hubzilla-23b272aafd7d7d6fe82430ef3382745351cf285c.zip |
merge conflict
Diffstat (limited to 'include')
-rw-r--r-- | include/attach.php | 11 |
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; |