Merged last changes from stable.
[fa-stable.git] / purchasing / includes / db / po_db.inc
index 4818dda3e386324262c5fc8049d43b4c4ed8cc8e..22a853d140ef49afaa13cfa9778540f4687be111 100644 (file)
@@ -155,7 +155,7 @@ function read_po_header($order_no, &$order)
                $order->credit = get_current_supp_credit($order->supplier_id);
 
        $order->orig_order_date = sql2date($myrow["ord_date"]);
-       $order->Comments = $myrow["comments"];
+       $order->Comments = nl2br($myrow["comments"]);
        $order->Location = $myrow["into_stock_location"];
        $order->supp_ref = $myrow["requisition_no"];
        $order->reference = $myrow["reference"];