diff options
| author | Jan-Hendrik Willms <tleilax+github@gmail.com> | 2023-02-28 08:41:51 +0100 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2023-03-02 10:09:04 +0000 |
| commit | 2e020467cd88624924e7ce1bb8f95ec7bd58aaa2 (patch) | |
| tree | 29532779e9dc5f2fa6ed756fcf4e0bd2ce79cc23 | |
| parent | c6402e295ccbde61fefec3ef7f59b1026fecae37 (diff) | |
re #2217biest-2217
| -rw-r--r-- | app/controllers/files.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/files.php b/app/controllers/files.php index 9ed804f..93ef8de 100644 --- a/app/controllers/files.php +++ b/app/controllers/files.php @@ -694,9 +694,9 @@ class FilesController extends AuthenticatedController public function copyhandler_action($destination_id) { $to_plugin = Request::get('to_plugin'); - $from_plugin = Request::get('from_plugin'); + $from_plugin = Request::get('from_plugin'); - $fileref_id = Request::getArray('fileref_id'); + $fileref_id = $this->flash['fileref_id'] ?? Request::getArray('fileref_id') ?? []; $copymode = Request::get('copymode'); $user = User::findCurrent(); |
