mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:15 +01:00
Fix hidden upload share link would not work for logged in user
This commit is contained in:
parent
b1a4006b02
commit
c21af32c1b
@ -68,7 +68,7 @@ class HiddenUploadSharing extends Sharing
|
||||
parent::setup_share(true, $share);
|
||||
|
||||
// upload dir needs the full url incl. share owner, but not readonly
|
||||
$upload_dir = Vfs::concat(str_replace('?ro=1', '', $share['resolve_url']), self::HIDDEN_UPLOAD_DIR);
|
||||
$upload_dir = Vfs::concat(str_replace('?ro=1', '',$share['resolve_url'] ?: $resolve_url), self::HIDDEN_UPLOAD_DIR);
|
||||
$upload_mount = Vfs::concat($share['share_root'], self::HIDDEN_UPLOAD_DIR);
|
||||
|
||||
// Mounting upload dir, has original share owner access (write)
|
||||
|
Loading…
Reference in New Issue
Block a user