redirect to users page on shift cancel by admin

This commit is contained in:
Philip Häusler 2014-12-27 23:38:23 +01:00
parent 16ce2eb969
commit 502a52394e
1 changed files with 11 additions and 11 deletions

View File

@ -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');