From de6bca1f22b712bc4233429e9e3dc4a5de25a326 Mon Sep 17 00:00:00 2001 From: Heiko Wilknitz Date: Thu, 23 Nov 2023 18:36:32 +0100 Subject: [PATCH] Update v4.0.20231119 --- libs/VisualisationHelper.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/VisualisationHelper.php b/libs/VisualisationHelper.php index 9cd3d46..4f33da2 100644 --- a/libs/VisualisationHelper.php +++ b/libs/VisualisationHelper.php @@ -90,10 +90,10 @@ protected function BuildWidget(array $waste, string $skin, array $custom) // (*) build svg icons & textM $svg = ''; $wn = ''; - for($i=0; $i < $pickups; $i++) { + for ($i = 0; $i < $pickups; $i++) { $svg .= ''; $wn .= $table[$i]['name']; - if($i != $pickups-1) { + if ($i != ($pickups - 1)) { $wn .= ','; } }