aboutsummaryrefslogtreecommitdiff
path: root/app/controllers/file.php
diff options
context:
space:
mode:
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');
}
/**