redirect when contact is to cancel an already sent order

This commit is contained in:
Marion Muszynski 2017-11-27 11:07:02 +01:00
parent 58a1710ea2
commit 10c3debe27

View File

@ -99,7 +99,7 @@ if (Tools::isSubmit('submitMessage')) {
if($id_contact == 9){
$id_order_state = Order::getCurrentIdState((int)Tools::getValue('id_order'));
if($id_order_state && in_array($id_order_state, array(4,17,5))) {
$id_contact = 1;
Tools::redirectLink('modules/ant_support_form/support.php?id_contact=1&id_order='.Tools::getValue('id_order'));
}
}