diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2024-05-30 06:57:51 +0000 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2024-05-30 06:57:51 +0000 |
| commit | cb11393661f5cdf9a1ddacb8cd9602de70f5b8f9 (patch) | |
| tree | a1d34239ca3973ebb9f3b0797d3a8841f0fdec48 /app/views/file | |
| parent | b506b133d371742ef23b3a22cc1c6bb20c860d40 (diff) | |
fixes #4221issue-4232
Closes #4221
Merge request studip/studip!3064
Diffstat (limited to 'app/views/file')
| -rw-r--r-- | app/views/file/choose_destination.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/file/choose_destination.php b/app/views/file/choose_destination.php index 9a39883..c71f072 100644 --- a/app/views/file/choose_destination.php +++ b/app/views/file/choose_destination.php @@ -33,7 +33,7 @@ $options = array_filter([ <?= Icon::create('folder-parent', Icon::ROLE_CLICKABLE)->asInput(50, ['formaction' => $controller->action_url('choose_folder/' . $parent_folder->getId()), 'to_plugin' => $options['from_plugin'] ?? null]) ?> <button class="undecorated" - formaction="<?= $controller->action_link('choose_folder/' . $parent_folder->getId()) ?>" <? if ($options['from_plugin']): ?> name="to_plugin" value="<?= htmlReady($options['from_plugin'] ?? null) ?>"<? endif; ?> + formaction="<?= $controller->action_link('choose_folder/' . $parent_folder->getId()) ?>" <? if (!empty($options['from_plugin'])): ?> name="to_plugin" value="<?= htmlReady($options['from_plugin']) ?>"<? endif; ?> data-dialog="size=medium"> <?= _('Aktueller Ordner') ?> </button> |
