diff options
Diffstat (limited to 'includes/pages')
-rw-r--r-- | includes/pages/guest_login.php | 2 | ||||
-rw-r--r-- | includes/pages/user_shifts.php | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/includes/pages/guest_login.php b/includes/pages/guest_login.php index 0577951f..3a0ed967 100644 --- a/includes/pages/guest_login.php +++ b/includes/pages/guest_login.php @@ -271,7 +271,7 @@ function guest_register() return User_registration_success_view($event_config['event_welcome_msg']); } - redirect('?'); + redirect(page_link_to('/')); } } diff --git a/includes/pages/user_shifts.php b/includes/pages/user_shifts.php index 24b9251a..f8cf71cd 100644 --- a/includes/pages/user_shifts.php +++ b/includes/pages/user_shifts.php @@ -96,7 +96,7 @@ function load_rooms() ); if (empty($rooms)) { error(_('The administration has not configured any rooms yet.')); - redirect('?'); + redirect(page_link_to('/')); } return $rooms; } @@ -115,7 +115,7 @@ function load_days() if (empty($days)) { error(_('The administration has not configured any shifts yet.')); - redirect('?'); + redirect(page_link_to('/')); } return $days; } @@ -129,7 +129,7 @@ function load_types() if (!count(DB::select('SELECT `id`, `name` FROM `AngelTypes` WHERE `restricted` = 0'))) { error(_('The administration has not configured any angeltypes yet - or you are not subscribed to any angeltype.')); - redirect('?'); + redirect(page_link_to('/')); } $types = DB::select(' SELECT |