diff options
author | zotlabs <mike@macgirvin.com> | 2017-05-16 17:51:00 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-05-16 17:51:00 -0700 |
commit | 3c22a7b4823d9b47e91d39f2984cb54d6fe0d80f (patch) | |
tree | 8618292a57d8d56ecf69d98bf87e00abec9b946d /Zotlabs/Module/File_upload.php | |
parent | df3eb562f09dc8c9248d9f76c7cf48480027075e (diff) | |
parent | 7a39ccf7bb3c61a354207486f83b970641e54680 (diff) | |
download | volse-hubzilla-3c22a7b4823d9b47e91d39f2984cb54d6fe0d80f.tar.gz volse-hubzilla-3c22a7b4823d9b47e91d39f2984cb54d6fe0d80f.tar.bz2 volse-hubzilla-3c22a7b4823d9b47e91d39f2984cb54d6fe0d80f.zip |
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into xdev_merge
Diffstat (limited to 'Zotlabs/Module/File_upload.php')
-rw-r--r-- | Zotlabs/Module/File_upload.php | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Zotlabs/Module/File_upload.php b/Zotlabs/Module/File_upload.php index 769134808..29a7bd137 100644 --- a/Zotlabs/Module/File_upload.php +++ b/Zotlabs/Module/File_upload.php @@ -28,11 +28,12 @@ class File_upload extends \Zotlabs\Web\Controller { $_REQUEST['group_deny'] = expand_acl($channel['channel_deny_gid']); } + $_REQUEST['allow_cid'] = perms2str($_REQUEST['contact_allow']); + $_REQUEST['allow_gid'] = perms2str($_REQUEST['group_allow']); + $_REQUEST['deny_cid'] = perms2str($_REQUEST['contact_deny']); + $_REQUEST['deny_gid'] = perms2str($_REQUEST['group_deny']); + if($_REQUEST['filename']) { - $_REQUEST['allow_cid'] = perms2str($_REQUEST['contact_allow']); - $_REQUEST['allow_gid'] = perms2str($_REQUEST['group_allow']); - $_REQUEST['deny_cid'] = perms2str($_REQUEST['contact_deny']); - $_REQUEST['deny_gid'] = perms2str($_REQUEST['group_deny']); $r = attach_mkdir($channel,get_observer_hash(),$_REQUEST); } else { |