[-] BO : fix #PSCFV-3278 : add a parameter id_shop in a method Mail::send() && normalize
This commit is contained in:
@@ -363,11 +363,13 @@ class OrderHistoryCore extends ObjectModel
|
||||
$data = array_merge ($data, $tmp_array);
|
||||
// If there's at least one downloadable file
|
||||
if (!empty($assign))
|
||||
Mail::Send((int)$order->id_lang, 'download_product', Mail::l('Virtual product to download', $order->id_lang), $data, $result['email'], $result['firstname'].' '.$result['lastname']);
|
||||
Mail::Send((int)$order->id_lang, 'download_product', Mail::l('Virtual product to download', $order->id_lang), $data, $result['email'], $result['firstname'].' '.$result['lastname'],
|
||||
null, null, null, null, _PS_THEME_DIR_, false, (int)$order->id_shop);
|
||||
}
|
||||
|
||||
if (Validate::isLoadedObject($order))
|
||||
Mail::Send((int)$order->id_lang, $result['template'], $topic, $data, $result['email'], $result['firstname'].' '.$result['lastname']);
|
||||
Mail::Send((int)$order->id_lang, $result['template'], $topic, $data, $result['email'], $result['firstname'].' '.$result['lastname'],
|
||||
null, null, null, null, _PS_THEME_DIR_, false, (int)$order->id_shop);
|
||||
}
|
||||
|
||||
// Update id_order_state attribute in Order
|
||||
|
||||
Reference in New Issue
Block a user