summaryrefslogtreecommitdiff
path: root/includes/controller/users_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/users_controller.php
parent80606cdd8b4cca2c3b589644cf7f02db34689d70 (diff)
fix all redirects to home (because of new urls redirect to ? wont work anymore)
Diffstat (limited to 'includes/controller/users_controller.php')
-rw-r--r--includes/controller/users_controller.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/controller/users_controller.php b/includes/controller/users_controller.php
index e8cb1b27..b1ef517e 100644
--- a/includes/controller/users_controller.php
+++ b/includes/controller/users_controller.php
@@ -192,7 +192,7 @@ function user_controller()
$user_source = User($request->input('user_id'));
if ($user_source == null) {
error(_('User not found.'));
- redirect('?');
+ redirect(page_link_to('/'));
}
}