aboutsummaryrefslogtreecommitdiff
path: root/app/controllers/search/module.php
diff options
context:
space:
mode:
authorJan-Hendrik Willms <tleilax+studip@gmail.com>2022-09-02 13:27:38 +0000
committerElmar Ludwig <elmar.ludwig@uni-osnabrueck.de>2022-09-02 13:27:38 +0000
commit52e91615306676b1df0e40cfbd36f70568b7f8f5 (patch)
treed3837636f6019a85489e1c8031902ca6ddd29726 /app/controllers/search/module.php
parent682e4fd2a6ce3e683f271e5685f5c4fe55d3b49e (diff)
Replace occurences of `url_for('/...')` with appropriate `action_url()`
Closes #1189 Merge request studip/studip!736
Diffstat (limited to 'app/controllers/search/module.php')
-rw-r--r--app/controllers/search/module.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/search/module.php b/app/controllers/search/module.php
index 9fbd66f..082ad21 100644
--- a/app/controllers/search/module.php
+++ b/app/controllers/search/module.php
@@ -311,7 +311,7 @@ class Search_ModuleController extends MVVController
$this->initPageParams();
$this->drilldown();
$this->page = 1;
- $this->redirect($this->url_for('/index'));
+ $this->redirect($this->action_url('index'));
}
private function drilldown()
@@ -331,7 +331,7 @@ class Search_ModuleController extends MVVController
$this->initPageParams();
$this->page = 1;
$this->reset_drilldown();
- $this->redirect($this->url_for('/index'));
+ $this->redirect($this->action_url('index'));
}
private function reset_drilldown()