diff options
| author | David Siegfried <david.siegfried@uni-vechta.de> | 2022-11-15 15:39:09 +0000 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2022-11-24 11:11:45 +0000 |
| commit | 4aa2263709aed90f4a7d5e99fd8eb0a0a9ac3225 (patch) | |
| tree | e417487a7eed0529bfde2b644d4eee149915fc66 /app/controllers/file.php | |
| parent | b12e93045465c2e825e15ff52d0c268026f9b99d (diff) | |
Apply 13 suggestion(s) to 4 file(s)tic-00853
Diffstat (limited to 'app/controllers/file.php')
| -rw-r--r-- | app/controllers/file.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/file.php b/app/controllers/file.php index cfeee5a..2573df7 100644 --- a/app/controllers/file.php +++ b/app/controllers/file.php @@ -522,13 +522,13 @@ class FileController extends AuthenticatedController ]; // only if you were in Dateibereich - if ($this->redirect == 'redirect_to_files') { + if ($this->redirect === 'redirect_to_files') { $_SESSION['NEW_OER']['redirect_url'] = 'files'; $_SESSION['NEW_OER']['dir'] = $this->folder->getId(); $_SESSION['NEW_OER']['cid'] = $this->folder->range_id; } - $this->redirect("oer/mymaterial/edit/"); + $this->redirect('oer/mymaterial/edit'); } /** |
