mirror of
https://github.com/kuaifan/dootask.git
synced 2026-03-17 19:23:26 +00:00
fix: 移动文件所有者错误
This commit is contained in:
parent
63cd4649dd
commit
0f6886656e
@ -389,6 +389,7 @@ class FileController extends AbstractController
|
|||||||
if ($file->isSubShare()) {
|
if ($file->isSubShare()) {
|
||||||
throw new ApiException("{$file->name} 内含有共享文件,无法移动到另一个共享文件夹内");
|
throw new ApiException("{$file->name} 内含有共享文件,无法移动到另一个共享文件夹内");
|
||||||
}
|
}
|
||||||
|
$file->userid = $toShareFile->userid;
|
||||||
}
|
}
|
||||||
//
|
//
|
||||||
$tmpId = $pid;
|
$tmpId = $pid;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user