diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2024-06-01 07:37:38 +0000 |
|---|---|---|
| committer | David Siegfried <david.siegfried@uni-vechta.de> | 2024-06-01 07:37:38 +0000 |
| commit | eba1fe03484ef9bd2d5974bc18a0da48f2c0ef0b (patch) | |
| tree | a879ab24dcb70d957c092b917d7ed83c438bc07f /lib/classes/StudipController.php | |
| parent | 4047e28efd43011ff70d8c5b596aa1e8673a6246 (diff) | |
fixes #4248
Closes #4248
Merge request studip/studip!3079
Diffstat (limited to 'lib/classes/StudipController.php')
| -rw-r--r-- | lib/classes/StudipController.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/classes/StudipController.php b/lib/classes/StudipController.php index 0643836..a908a47 100644 --- a/lib/classes/StudipController.php +++ b/lib/classes/StudipController.php @@ -649,8 +649,7 @@ abstract class StudipController extends Trails\Controller $args = func_get_args(); $unconsumed = array_shift($args); - [$action, $extracted_args, $format] = $this->extract_action_and_args($unconsumed); - $this->format = isset($format) ? $format : 'html'; + [$action, $extracted_args] = $this->extract_action_and_args($unconsumed); $this->current_action = $action; $args = array_merge($extracted_args, $args); $callable = $this->map_action($action); |
