Skip to content
Snippets Groups Projects
Commit ede552a2 authored by Elmar Ludwig's avatar Elmar Ludwig Committed by Jan-Hendrik Willms
Browse files

use Location redirect instead of `redirect()`, fixes #1772

Closes #1772

Merge request studip/studip!1149
parent 78da395b
No related branches found
No related tags found
No related merge requests found
...@@ -62,7 +62,8 @@ class Institute_OverviewController extends AuthenticatedController ...@@ -62,7 +62,8 @@ class Institute_OverviewController extends AuthenticatedController
throw new Exception('Invalid redirection'); throw new Exception('Invalid redirection');
} }
$this->redirect(URLHelper::getURL($redirect_to, ['cid' => $this->institute_id])); $this->response->add_header('Location', URLHelper::getURL($redirect_to, ['cid' => $this->institute_id]));
$this->render_nothing();
return; return;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment