From: Joe Hunt Date: Fri, 22 Feb 2019 08:49:28 +0000 (+0100) Subject: Display of newlines in memo show as html X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=84aa8ccb0b363e366733fe9b762c5c01660eb011;p=fa-stable.git Display of newlines in memo show as html during purchase order modify. Fixed by @Braath Waathe- --- 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"];