redirect to users page on shift cancel by admin

main
Philip Häusler 10 years ago
parent 16ce2eb969
commit 502a52394e

@ -93,7 +93,7 @@ function user_myshifts() {
} else } else
error(_("It's too late to sign yourself off the shift. If neccessary, ask the dispatcher to do so.")); error(_("It's too late to sign yourself off the shift. If neccessary, ask the dispatcher to do so."));
} else } else
redirect(page_link_to('user_myshifts')); redirect(user_link($shifts_user));
} }
redirect(page_link_to('users') . '&action=view'); redirect(page_link_to('users') . '&action=view');

Loading…
Cancel
Save