From: Joe Hunt Date: Mon, 25 Nov 2019 07:44:00 +0000 (+0100) Subject: Formatting error in dashboard.inc fixed. X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=42264ea9534828b5b66b67a6cc0991b4b4ecf8e0;hp=fcf60152ed8fe3373f9dfe54ca5604e7446f995d;p=fa-stable.git Formatting error in dashboard.inc fixed. --- diff --git a/includes/dashboard.inc b/includes/dashboard.inc index bb6e6e25..9a5a9f4b 100644 --- a/includes/dashboard.inc +++ b/includes/dashboard.inc @@ -195,7 +195,7 @@ function customer_top($today, $limit=10, $width="33", &$pg=null) while ($myrow = db_fetch($result)) { alt_table_row_color($k); - $name = $myrow["debtor_no"]." ".$myrow["name"]; + $name = $myrow["debtor_no"]." ".htmlspecialchars_decode($myrow["name"]); label_cell($name); amount_cell($myrow['total']); if ($pg != null) @@ -232,7 +232,7 @@ function supplier_top($today, $limit=10, $width="33", &$pg=null) while ($myrow = db_fetch($result)) { alt_table_row_color($k); - $name = $myrow["supplier_id"]." ".$myrow["supp_name"]; + $name = $myrow["supplier_id"]." ".htmlspecialchars_decode($myrow["supp_name"]); label_cell($name); amount_cell($myrow['total']); if ($pg != null)