When I go to send mail filtered by product, the emails don't send and the following errors appear in the log:
2013-04-19 4:23:44 - PHP Warning: Missing argument 2 for ModelSaleOrder::getEmailsByProductsOrdered(), called in /home/<mydomain>admin/controller/sale/contact.php on line 198 and defined in /home/<mydomain>/admin/model/sale/order.php on line 676
2013-04-19 4:23:44 - PHP Warning: Missing argument 3 for ModelSaleOrder::getEmailsByProductsOrdered(), called in /home/<mydomain>/admin/controller/sale/contact.php on line 198 and defined in /home/<mydomain>/admin/model/sale/order.php on line 676
The code referred to is as follows:
contact.php on line 198
Code: Select all
$email_total = $this->model_sale_order->getEmailsByProductsOrdered($this->request->post['product']);
Code: Select all
public function getEmailsByProductsOrdered($products, $start, $end) {
Can anyone tell me what is going on here? I'm using 1.5.2.1
TIA