Merge branch 'ticket-13014-ReplyEs'

This commit is contained in:
Marion Muszynski 2017-04-13 14:25:01 +02:00
commit 5d10aa4c72

View File

@ -206,6 +206,9 @@ class AdminCustomerThreads extends AdminTab
$link_reply = ($ct->id_lang == 3 ? str_replace('com','es',Tools::getShopDomain(true).__PS_BASE_URI__):Tools::getShopDomain(true).__PS_BASE_URI__).'modules/ant_support_form/support.php?id_customer_thread='.(int)($ct->id).'&token='.$ct->token.(($ct->id_contact == 9 || $ct->id_contact == 1)?'&id_contact='.$ct->id_contact : '').((isset($id_reason) && $id_reason)?'&id_reason='.(int)$id_reason : '');
} else {
$link_reply = $link->getPageLink('contact-form.php', true).'?id_customer_thread='.(int)($ct->id).'&token='.$ct->token;
if($ct->id_lang == 3) {
$link_reply = str_replace('com','es',$link_reply);
}
}
$params = array(
'{reply}' => nl2br2(Tools::getValue('reply_message')),