|
|
|
@ -109,7 +109,7 @@ class ControllerUser
|
|
|
|
|
$this->mdPlayer = new ModelPlayer();
|
|
|
|
|
$player = $this->mdPlayer->getPlayerByID($_SESSION["idPlayerConnected"]);
|
|
|
|
|
$maxscores = $this->mdPlayer->getMaxScoresWithChapter($player);
|
|
|
|
|
foreach ($maxscores as $maxscore) {
|
|
|
|
|
foreach ($maxscores as &$maxscore) {
|
|
|
|
|
$maxscore["chapter"]=$this->mdChapter->getChapterByID($maxscore["idchapter"])->getName();
|
|
|
|
|
}
|
|
|
|
|
echo $this->twig->render($this->vues["userStatus"],
|
|
|
|
|