! -> Note
$ -> Affected files
+29-Sep-2009 Janusz Dobrowolski
+# Fixed sql error during sales order line update with line cancelation.
+$ /sales/includes/db/sales_order_db.inc
+
29-Sep-2009 Joe Hunt
! Improved layout on documents etc and new empty language file.
$ /doc/*.txt
{
// set the quantity of each item to the already sent quantity. this will mark item as closed.
$sql = "UPDATE ".TB_PREF."sales_order_details
- SET quantity = qty_sent,
- type = 0,
- WHERE order_no = $order_no AND trans_type=".ST_SALESORDER."";
+ SET quantity = qty_sent WHERE order_no = $order_no AND trans_type=".ST_SALESORDER."";
db_query($sql, "The sales order detail record could not be updated");
}