small fixes
This commit is contained in:
parent
f9b73816c3
commit
07898d47f7
@ -1098,6 +1098,11 @@ class DedimaniaPlugin implements CallbackListener, CommandListener, TimerListene
|
|||||||
private function setRecordReplays(RecordData &$record) {
|
private function setRecordReplays(RecordData &$record) {
|
||||||
// Set validation replay
|
// Set validation replay
|
||||||
try{
|
try{
|
||||||
|
//TODO verify why it can be that login is not set
|
||||||
|
if(!$record->login){
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
$validationReplay = $this->maniaControl->getServer()->getValidationReplay($record->login);
|
$validationReplay = $this->maniaControl->getServer()->getValidationReplay($record->login);
|
||||||
if ($validationReplay) {
|
if ($validationReplay) {
|
||||||
$record->vReplay = $validationReplay;
|
$record->vReplay = $validationReplay;
|
||||||
|
Loading…
Reference in New Issue
Block a user