diff options
| author | 2014-09-04 20:30:15 +0200 | |
|---|---|---|
| committer | 2014-09-04 20:30:15 +0200 | |
| commit | 657b1ffe278c2bbd1c23ae906786810ce9c609f4 (patch) | |
| tree | 3cb9fe51af0325b997a00090fce73bbe4f77f2f9 | |
| parent | 228e89dbe3e7dce312b285d548ca20133e60e2bc (diff) | |
Bug HTML stats
Categories containing a space were not displayed properly
https://github.com/marienfressinaud/FreshRSS/issues/547
| -rw-r--r-- | app/views/stats/repartition.phtml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/stats/repartition.phtml b/app/views/stats/repartition.phtml index 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>'; |
