Skip to content
Snippets Groups Projects
Commit ae12d3c8 authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms Committed by David Siegfried
Browse files

fix application redirect

Closes #1105

Merge request studip/studip!659
parent 9533542d
No related branches found
No related tags found
No related merge requests found
...@@ -33,7 +33,7 @@ class Course_EnrolmentController extends AuthenticatedController ...@@ -33,7 +33,7 @@ class Course_EnrolmentController extends AuthenticatedController
$this->course_id = $args[0]; $this->course_id = $args[0];
if (!in_array($action, words('apply claim delete order_down order_up'))) { if (!in_array($action, words('apply claim delete order_down order_up'))) {
$this->redirect($this->url_for('/apply/' . $action)); $this->redirect($this->applyURL($action));
return false; return false;
} }
if (!get_object_type($this->course_id, ['sem'])) { if (!get_object_type($this->course_id, ['sem'])) {
......
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