|
|
|
@ -244,9 +244,9 @@ function formulaires_editer_block_traiter_dist($id_block = 'new', $objet = null,
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (isset($retours['redirect'])) {
|
|
|
|
|
$retours['redirect'] = parametre_url($retours['redirect'],'id_blocktype','');
|
|
|
|
|
$retours['redirect'] = parametre_url($retours['redirect'],'id_block','');
|
|
|
|
|
$retours['redirect'] = parametre_url($retours['redirect'],'edit_bloc','');
|
|
|
|
|
$retours['redirect'] = parametre_url($retours['redirect'], 'id_blocktype', '');
|
|
|
|
|
$retours['redirect'] = parametre_url($retours['redirect'], 'id_block', '');
|
|
|
|
|
$retours['redirect'] = parametre_url($retours['redirect'], 'edit_bloc', '');
|
|
|
|
|
$retours['redirect'] = ancre_url($retours['redirect'], 'block_' . $id_block);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -254,7 +254,7 @@ function formulaires_editer_block_traiter_dist($id_block = 'new', $objet = null,
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (_request('annuler')) {
|
|
|
|
|
$retours['redirect'] = parametre_url($retour,'id_blocktype','');
|
|
|
|
|
$retours['redirect'] = parametre_url($retour, 'id_blocktype', '');
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return $retours;
|
|
|
|
|