From d2ac45a07016f8985dc56fde5e7726ae1a204635 Mon Sep 17 00:00:00 2001 From: Heiko Wilknitz Date: Wed, 22 Nov 2023 18:04:51 +0100 Subject: [PATCH] Update v2.0.20231119 --- libs/VisualisationHelper.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/libs/VisualisationHelper.php b/libs/VisualisationHelper.php index 3fec21b..016d037 100644 --- a/libs/VisualisationHelper.php +++ b/libs/VisualisationHelper.php @@ -30,7 +30,6 @@ trait VisualisationHelper ['Type' => 'gray', 'Term' => 'General Waste', 'Color'=> 10066588, 'Match'=> 'rest'] ]; - /** * GetWasteValues for form list * @return array List values @@ -128,11 +127,10 @@ protected function BuildWidget(array $waste, string $skin, array $custom) $date = $this->Translate('Date'); $tbc = ($skin == 'light') ? '#D7D6D6' : '#4A4B4D'; $wic = ''; - foreach($custom as $color) { + foreach ($custom as $color) { $wic .= ' .icon--' . $color['Type'] . ' { fill: #' . dechex($color['Color']) . ';}' . PHP_EOL; } - $html = '