From 852878ced26accba8bd32e707aa21a7beed681bc Mon Sep 17 00:00:00 2001 From: kremsy Date: Thu, 26 Dec 2013 17:28:47 +0100 Subject: [PATCH] small fix --- application/core/Players/PlayerList.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/core/Players/PlayerList.php b/application/core/Players/PlayerList.php index 2eae72a2..7c17147d 100644 --- a/application/core/Players/PlayerList.php +++ b/application/core/Players/PlayerList.php @@ -607,7 +607,7 @@ class PlayerList implements ManialinkPageAnswerListener, CallbackListener { */ public function updateWidget(array $callback){ foreach($this->playersListShown as $login => $shown){ - if($shown == true){ + if($shown){ $player = $this->maniaControl->playerManager->getPlayer($login); if($player != null) $this->showPlayerList($player);