fix redirect path
This commit is contained in:
@@ -309,7 +309,8 @@ function booking_variety_create_session_form($node, &$form_state, $create = TRUE
|
||||
function booking_variety_create_session_form_submit($form, &$form_state) {
|
||||
global $event;
|
||||
$values = $form_state['input'];
|
||||
$redirect_path = "admin/config/booking/variety";
|
||||
$timeslot_id = $values['tid'];
|
||||
$redirect_path = "admin/config/booking/variety/$timeslot_id/session/list";
|
||||
|
||||
//if we're deleting, add the confirmation to the form if it hasn't been defined yet
|
||||
if($form_state['values']['op'] == 'Delete Session' && (!isset($form_state['storage']['confirm']))) {
|
||||
|
Reference in New Issue
Block a user