From 42264ea9534828b5b66b67a6cc0991b4b4ecf8e0 Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Mon, 25 Nov 2019 08:44:00 +0100 Subject: [PATCH 1/1] Formatting error in dashboard.inc fixed. --- includes/dashboard.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.30.2