1
0

Fixed Highscore API (MD5 test)

This commit is contained in:
Mike Schwörer 2014-08-11 22:38:31 +02:00
parent 0d6cd44630
commit 056412637a

View File

@ -133,9 +133,9 @@ class HighscoreEntries extends CActiveRecord
/* @var $game HighscoreGames */ /* @var $game HighscoreGames */
if ($this->PLAYERID >= 0) 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 else
return md5($rand . $this->PLAYER . $this->POINTS . $game->ID); return md5($rand . $this->PLAYER . $this->POINTS . $game->SALT);
} }
/** /**