From 99d36e47b8cd0aeaaa7ef2eca774c087ec3bf20c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20H=C3=A4usler?= Date: Mon, 28 Dec 2015 17:42:29 +0100 Subject: [PATCH] redirect to other users page on shift cancel --- includes/pages/user_myshifts.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']); } ?>