diff --git a/includes/pages/user_myshifts.php b/includes/pages/user_myshifts.php index 66e591d1..9e76636c 100644 --- a/includes/pages/user_myshifts.php +++ b/includes/pages/user_myshifts.php @@ -101,6 +101,6 @@ function user_myshifts() { redirect(user_link($shifts_user)); } - redirect(page_link_to('users') . '&action=view'); + redirect(page_link_to('users') . '&action=view&user_id=' . $shifts_user['UID']); } ?>