From 056412637a1914ec39e0d46722746804507a3578 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20Schw=C3=B6rer?= Date: Mon, 11 Aug 2014 22:38:31 +0200 Subject: [PATCH] Fixed Highscore API (MD5 test) --- www/protected/models/HighscoreEntries.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/protected/models/HighscoreEntries.php b/www/protected/models/HighscoreEntries.php index b39424f..7d93a55 100644 --- a/www/protected/models/HighscoreEntries.php +++ b/www/protected/models/HighscoreEntries.php @@ -133,9 +133,9 @@ class HighscoreEntries extends CActiveRecord /* @var $game HighscoreGames */ if ($this->PLAYERID >= 0) - return md5($rand . $this->PLAYER . $this->PLAYERID . $this->POINTS . $game->ID); + return md5($rand . $this->PLAYER . $this->PLAYERID . $this->POINTS . $game->SALT); else - return md5($rand . $this->PLAYER . $this->POINTS . $game->ID); + return md5($rand . $this->PLAYER . $this->POINTS . $game->SALT); } /**