redirect to users page on shift cancel by admin
This commit is contained in:
parent
16ce2eb969
commit
502a52394e
|
@ -93,7 +93,7 @@ function user_myshifts() {
|
|||
} else
|
||||
error(_("It's too late to sign yourself off the shift. If neccessary, ask the dispatcher to do so."));
|
||||
} else
|
||||
redirect(page_link_to('user_myshifts'));
|
||||
redirect(user_link($shifts_user));
|
||||
}
|
||||
|
||||
redirect(page_link_to('users') . '&action=view');
|
||||
|
|
Loading…
Reference in New Issue