diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2023-12-16 16:05:52 +0100 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2023-12-16 16:05:52 +0100 |
commit | 19dd1fe86605bc85e8a0bf4efd6f195db258f60a (patch) | |
tree | 5d5b1fac3ad1760189ea0daf1bf5639e4ba0d100 /Zotlabs/Module/File_upload.php | |
parent | 6a5f78543fb2f5329e54209253b8c0d0f1d7a91d (diff) | |
parent | 69266cd6c65d228320dede32a343a9d3f3ea63df (diff) | |
download | volse-hubzilla-19dd1fe86605bc85e8a0bf4efd6f195db258f60a.tar.gz volse-hubzilla-19dd1fe86605bc85e8a0bf4efd6f195db258f60a.tar.bz2 volse-hubzilla-19dd1fe86605bc85e8a0bf4efd6f195db258f60a.zip |
Merge branch 'dev' into tests/test-db-setup-wip
Diffstat (limited to 'Zotlabs/Module/File_upload.php')
-rw-r--r-- | Zotlabs/Module/File_upload.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/File_upload.php b/Zotlabs/Module/File_upload.php index 39a30cb1a..8956ce16f 100644 --- a/Zotlabs/Module/File_upload.php +++ b/Zotlabs/Module/File_upload.php @@ -35,7 +35,7 @@ class File_upload extends \Zotlabs\Web\Controller { $_REQUEST['deny_cid'] = ((isset($_REQUEST['contact_deny'])) ? perms2str($_REQUEST['contact_deny']) : ''); $_REQUEST['deny_gid'] = ((isset($_REQUEST['group_deny'])) ? perms2str($_REQUEST['group_deny']) : ''); - if(isset($_REQUEST['filename']) && $_REQUEST['filename']) { + if(isset($_REQUEST['filename']) && strlen($_REQUEST['filename'])) { $r = attach_mkdir($channel, get_observer_hash(), $_REQUEST); if($r['success']) { $hash = $r['data']['hash']; |