From 84aa8ccb0b363e366733fe9b762c5c01660eb011 Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Fri, 22 Feb 2019 09:49:28 +0100 Subject: [PATCH] Display of newlines in memo show as html during purchase order modify. Fixed by @Braath Waathe- --- purchasing/includes/db/po_db.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/purchasing/includes/db/po_db.inc b/purchasing/includes/db/po_db.inc index b0709ee2..dd4929ed 100644 --- a/purchasing/includes/db/po_db.inc +++ b/purchasing/includes/db/po_db.inc @@ -185,7 +185,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 = nl2br($myrow["comments"]); + $order->Comments = $myrow["comments"]; $order->Location = $myrow["into_stock_location"]; $order->supp_ref = $myrow["requisition_no"]; $order->reference = $myrow["reference"]; -- 2.30.2