From 2e020467cd88624924e7ce1bb8f95ec7bd58aaa2 Mon Sep 17 00:00:00 2001 From: Jan-Hendrik Willms Date: Tue, 28 Feb 2023 08:41:51 +0100 Subject: re #2217 --- app/controllers/files.php | 4 ++-- 1 file 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(); -- cgit v1.0