Fix genres handling in Console, Games and Music controllers

This commit is contained in:
DariusIII
2018-07-09 10:52:43 +02:00
parent 05a2e05d65
commit 7b5da4c48d
4 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -65,7 +65,7 @@ class MusicController extends BasePageController
$genres = $gen->getGenres(Genres::MUSIC_TYPE, true);
$tmpgnr = [];
foreach ($genres as $gn) {
$tmpgnr[$gn['id']] = $gn['title'];
$tmpgnr[$gn->id] = $gn->title;
}
foreach ($results as $result) {