Fixed Highscore API (MD5 test)
This commit is contained in:
parent
0d6cd44630
commit
056412637a
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user