From a84d29fa3531f873f846fef591c8db020ccf1bb2 Mon Sep 17 00:00:00 2001 From: Jan-Hendrik Willms Date: Mon, 25 Sep 2023 12:42:52 +0000 Subject: fixes #3228 Closes #3228 Merge request studip/studip!2190 --- app/views/file/choose_destination.php | 4 ++-- app/views/file/edit.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/file/choose_destination.php b/app/views/file/choose_destination.php index fa5e73d..7247439 100644 --- a/app/views/file/choose_destination.php +++ b/app/views/file/choose_destination.php @@ -30,10 +30,10 @@ $options = array_filter([
isWritable($GLOBALS['user']->id) || count($parent_folder->getSubfolders()))): ?>
- asInput(50, ['formaction' => $controller->action_url('choose_folder/' . $parent_folder->getId()), 'to_plugin' => $options['from_plugin']]) ?> + asInput(50, ['formaction' => $controller->action_url('choose_folder/' . $parent_folder->getId()), 'to_plugin' => $options['from_plugin'] ?? null]) ?>
diff --git a/app/views/file/edit.php b/app/views/file/edit.php index 3e36abb..803b312 100644 --- a/app/views/file/edit.php +++ b/app/views/file/edit.php @@ -3,7 +3,7 @@
+ action="action_link('edit/' . $file_ref->id, ['from_plugin' => $from_plugin ?? null]) ?>">
-- cgit v1.0