From b6de851d208e5f2fd9978f6f3735a7198021dc4c Mon Sep 17 00:00:00 2001 From: kremsy Date: Tue, 24 Dec 2013 16:35:42 +0100 Subject: [PATCH] small fix --- application/core/Players/PlayerList.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/application/core/Players/PlayerList.php b/application/core/Players/PlayerList.php index 1d1e5574..4073a579 100644 --- a/application/core/Players/PlayerList.php +++ b/application/core/Players/PlayerList.php @@ -561,7 +561,8 @@ class PlayerList implements ManialinkPageAnswerListener, CallbackListener { foreach($this->playersListShown as $login => $shown){ if($shown == true){ $player = $this->maniaControl->playerManager->getPlayer($login); - $this->showPlayerList($player); + if($player != null) + $this->showPlayerList($player); } } }