diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2022-07-14 07:22:51 +0000 |
|---|---|---|
| committer | David Siegfried <david.siegfried@uni-vechta.de> | 2022-07-14 07:22:51 +0000 |
| commit | 60080354dcc904e01f4ee88793d0e132afca8227 (patch) | |
| tree | cfa130035184cb194f1e1f2a1f515c96ce60f9fe /lib/filesystem/LibraryFile.class.php | |
| parent | 988123d8bf65657907cde0a522e5354b476212d8 (diff) | |
resurrect lost commit, fixes #1235
Closes #1235
Merge request studip/studip!806
Diffstat (limited to 'lib/filesystem/LibraryFile.class.php')
| -rw-r--r-- | lib/filesystem/LibraryFile.class.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/filesystem/LibraryFile.class.php b/lib/filesystem/LibraryFile.class.php index 736919b..0c2bcb6 100644 --- a/lib/filesystem/LibraryFile.class.php +++ b/lib/filesystem/LibraryFile.class.php @@ -246,10 +246,7 @@ class LibraryFile extends StandardFile _('Datei löschen'), Icon::create('trash', Icon::ROLE_CLICKABLE, ['size' => 20]), [ - 'formaction' => URLHelper::getURL( - sprintf('dispatch.php/file/delete/%s', $this->fileref->id), - $flat_view ? ['from_flat_view' => 1] : [] - ), + 'formaction' => URLHelper::getURL("dispatch.php/file/delete/{$this->fileref->id}"), 'data-confirm' => sprintf(_('Soll die Datei "%s" wirklich gelöscht werden?'), $this->fileref->name), ] ); |
