From 98e15cecf15155a03508de47be7ae35766289c05 Mon Sep 17 00:00:00 2001
From: Moritz Strohm <strohm@data-quest.de>
Date: Fri, 11 Aug 2023 17:27:25 +0200
Subject: [PATCH] file/choose_destination: added attribute "hidden" for view,
 re #2996

---
 app/controllers/file.php | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/app/controllers/file.php b/app/controllers/file.php
index 06c5ea94386..7ed8b86980c 100644
--- a/app/controllers/file.php
+++ b/app/controllers/file.php
@@ -730,6 +730,8 @@ class FileController extends AuthenticatedController
     {
         PageLayout::setTitle(_('Ziel wählen'));
 
+        $this->hidden = false; //This is used in the view.
+
         if (empty($fileref_id)) {
             $fileref_id = Request::getArray('fileref_id');
         } elseif ($fileref_id === 'bulk') {
-- 
GitLab