Skip to content
Snippets Groups Projects
Commit 49ece252 authored by Elmar Ludwig's avatar Elmar Ludwig Committed by David Siegfried
Browse files

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

Closes #1772

Merge request studip/studip!1149
parent b0adcb6c
No related branches found
No related tags found
No related merge requests found
......@@ -62,7 +62,8 @@ class Institute_OverviewController extends AuthenticatedController
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;
}
......
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