A free, self-hostable news aggregator…
Bug HTML stats
Alexandre Alapetite657b1ffe278c
diff --git a/app/views/stats/repartition.phtml b/app/views/stats/repartition.phtmlindex 2331db78c..d9dc4c89d 100644--- a/app/views/stats/repartition.phtml+++ b/app/views/stats/repartition.phtml@@ -10,12 +10,12 @@<?php foreach ($this->categories as $category) {$feeds = $category->feeds();if (!empty($feeds)) {- echo '<optgroup label=', $category->name(), '>';+ echo '<optgroup label="', $category->name(), '">';foreach ($feeds as $feed) {if ($this->feed && $feed->id() == $this->feed->id()){- echo '<option value ="', $feed->id(), '" selected data-url="', _url('stats', 'repartition', 'id', $feed->id()), '">', $feed->name(), '</option>';+ echo '<option value="', $feed->id(), '" selected="selected" data-url="', _url('stats', 'repartition', 'id', $feed->id()), '">', $feed->name(), '</option>';} else {- echo '<option value ="', $feed->id(), '" data-url="', _url('stats', 'repartition', 'id', $feed->id()), '">', $feed->name(), '</option>';+ echo '<option value="', $feed->id(), '" data-url="', _url('stats', 'repartition', 'id', $feed->id()), '">', $feed->name(), '</option>';}}echo '</optgroup>';