diff options
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); |
