From 73b8dae34528a3c19a4cd75b4e546bfc247af311 Mon Sep 17 00:00:00 2001 From: Tony Murray Date: Tue, 21 Aug 2018 15:45:37 -0500 Subject: [PATCH] Fix customers display (#9048) Was trying to inject sql --- html/includes/graphs/customer/bits.inc.php | 25 ++++++++++++---------- html/includes/table/customers.inc.php | 22 +++++++++---------- 2 files changed, 25 insertions(+), 22 deletions(-) diff --git a/html/includes/graphs/customer/bits.inc.php b/html/includes/graphs/customer/bits.inc.php index c2174f94c6..b55b5541f7 100644 --- a/html/includes/graphs/customer/bits.inc.php +++ b/html/includes/graphs/customer/bits.inc.php @@ -1,22 +1,25 @@ $rrd_filename, + 'descr' => $port['hostname'] . '-' . $port['ifDescr'], + 'descr_in' => shorthost($port['hostname']), + 'descr_out' => makeshortif($port['ifDescr']), + ]; } } diff --git a/html/includes/table/customers.inc.php b/html/includes/table/customers.inc.php index 4841174de8..6782d26e15 100644 --- a/html/includes/table/customers.inc.php +++ b/html/includes/table/customers.inc.php @@ -1,17 +1,15 @@