Bus on 1.1
Posted: Tue Feb 10, 2009 11:29 pm
In file: catalog/model/order.php
line 88: "AND confirmed = '1'' change to "AND confirm = '1'"
line 90: "INSERT order_history"..... add INTO after insert
fix the line to this
$this->db->query("INSERT INTO order_history (order_id, order_status_id, comment, date_added) VALUES ('" . (int)$order_id . "','" . (int)$order_status_id . "', '" . $this->db->escape($comment) . "', now())");
line 88: "AND confirmed = '1'' change to "AND confirm = '1'"
line 90: "INSERT order_history"..... add INTO after insert
fix the line to this
$this->db->query("INSERT INTO order_history (order_id, order_status_id, comment, date_added) VALUES ('" . (int)$order_id . "','" . (int)$order_status_id . "', '" . $this->db->escape($comment) . "', now())");