aboutsummaryrefslogtreecommitdiff
path: root/app/controllers/file.php
diff options
context:
space:
mode:
authorDavid Siegfried <david.siegfried@uni-vechta.de>2022-11-15 15:39:09 +0000
committerJan-Hendrik Willms <tleilax+studip@gmail.com>2022-11-24 11:11:45 +0000
commit4aa2263709aed90f4a7d5e99fd8eb0a0a9ac3225 (patch)
treee417487a7eed0529bfde2b644d4eee149915fc66 /app/controllers/file.php
parentb12e93045465c2e825e15ff52d0c268026f9b99d (diff)
Apply 13 suggestion(s) to 4 file(s)tic-00853
Diffstat (limited to 'app/controllers/file.php')
-rw-r--r--app/controllers/file.php4
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');
}
/**