X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2Fbriskin5%2FObj%2Fbriskin5.phh;fp=web%2Fbriskin5%2FObj%2Fbriskin5.phh;h=83973bd7ac2a7d1cd45eb6b0b3a46c6e02db2a86;hb=d54d1275506da35236ca65635a92f3c30dd37896;hp=b6ef20a4d90db2e38ac9544e2e78fa0865f78b72;hpb=e41441bc6b07d3598dea8cd60ee2357db15361b4;p=brisk.git diff --git a/web/briskin5/Obj/briskin5.phh b/web/briskin5/Obj/briskin5.phh index b6ef20a..83973bd 100644 --- a/web/briskin5/Obj/briskin5.phh +++ b/web/briskin5/Obj/briskin5.phh @@ -633,8 +633,12 @@ class Bin5_table extends Table { $this->old_friend = $this->friend; $this->old_reason = game_description($action, 'html', $this->old_mult, - $this->old_asta_win, $bri->user[$this->player[$this->old_asta_win]]->name, - $this->old_friend, $bri->user[$this->player[$this->old_friend]]->name, + $this->old_asta_win, + ($this->old_asta_win != -1 ? + $bri->user[$this->player[$this->old_asta_win]]->name : ""), + $this->old_friend, + ($this->old_friend != -1 ? + $bri->user[$this->player[$this->old_friend]]->name : ""), $this->old_pnt, $this->old_asta_pnt);