Skip to content

Commit

Permalink
Update v4.0.20231119
Browse files Browse the repository at this point in the history
  • Loading branch information
Wilkware committed Nov 23, 2023
1 parent 0d84034 commit de6bca1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/VisualisationHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 .= '<svg class="icon icon--' . $table[$i]['type'] . '" aria-hidden="true"><use xlink:href="#icon-waste" href="#icon-waste" /></svg>';
$wn .= $table[$i]['name'];
if($i != $pickups-1) {
if ($i != ($pickups - 1)) {
$wn .= ',';
}
}
Expand Down

0 comments on commit de6bca1

Please sign in to comment.