diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2022-06-21 08:39:09 +0000 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2022-06-21 08:39:09 +0000 |
| commit | b333f3fa1ea4d661db10e88325152eb2ef5437f3 (patch) | |
| tree | ac8d0efcc6a6501c842e36ef6041c69adef5edde /app | |
| parent | cbc5bec63afbabc79c15f62d3a4cdeb079283984 (diff) | |
fix path handling in `action_link()`, fixes #1188
Closes #1188
Merge request studip/studip!704
Diffstat (limited to 'app')
| -rw-r--r-- | app/controllers/studip_controller.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/app/controllers/studip_controller.php b/app/controllers/studip_controller.php index a08a946..e051155 100644 --- a/app/controllers/studip_controller.php +++ b/app/controllers/studip_controller.php @@ -740,10 +740,7 @@ abstract class StudipController extends Trails_Controller */ public function action_link($action) { - $arguments = func_get_args(); - array_unshift($arguments, $this->controller_path()); - - return $this->link_for(...$arguments); + return htmlReady($this->action_url(...func_get_args())); } /** |
