From 50f24271eb0c3aea6dbb91ab28ebd5682ac59cae Mon Sep 17 00:00:00 2001 From: msquare Date: Sun, 19 Nov 2017 10:45:08 +0100 Subject: fix all redirects to home (because of new urls redirect to ? wont work anymore) --- includes/controller/users_controller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/controller/users_controller.php') 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('/')); } } -- cgit v1.2.3-54-g00ecf