Skip to content
Snippets Groups Projects
Commit 777b775e authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

fix deprecation from 48960208, re #1016

parent 48960208
No related branches found
No related tags found
No related merge requests found
......@@ -263,10 +263,10 @@ abstract class StudipController extends Trails_Controller
// Try to create route if none given
if ($to === '') {
$to = isset($this->parent_controller)
$args[0] = isset($this->parent_controller)
? $this->parent_controller->current_action
: $this->current_action;
return $this->action_url($to);
return $this->action_url(...$args);
}
// Create url for a specific action
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment