diff options
Diffstat (limited to 'include/attach.php')
-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; |