summaryrefslogtreecommitdiff
path: root/includes/controller/angeltypes_controller.php
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2017-11-19 10:45:08 +0100
committermsquare <msquare@notrademark.de>2017-11-19 10:45:08 +0100
commit50f24271eb0c3aea6dbb91ab28ebd5682ac59cae (patch)
treeb7e4d0cc4858ccfc1387ad2433320806bd397a12 /includes/controller/angeltypes_controller.php
parent80606cdd8b4cca2c3b589644cf7f02db34689d70 (diff)
fix all redirects to home (because of new urls redirect to ? wont work anymore)
Diffstat (limited to 'includes/controller/angeltypes_controller.php')
-rw-r--r--includes/controller/angeltypes_controller.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/controller/angeltypes_controller.php b/includes/controller/angeltypes_controller.php
index 8c1cbe5d..3e377fb0 100644
--- a/includes/controller/angeltypes_controller.php
+++ b/includes/controller/angeltypes_controller.php
@@ -171,7 +171,7 @@ function angeltype_controller()
global $privileges, $user;
if (!in_array('angeltypes', $privileges)) {
- redirect('?');
+ redirect(page_link_to('/'));
}
$angeltype = load_angeltype();
@@ -204,7 +204,7 @@ function angeltypes_list_controller()
global $privileges, $user;
if (!in_array('angeltypes', $privileges)) {
- redirect('?');
+ redirect(page_link_to('/'));
}
$angeltypes = AngelTypes_with_user($user);