From 696036548548211dfc1ab584c0aa47de2dde0029 Mon Sep 17 00:00:00 2001 From: gnieark Date: Sat, 26 Dec 2015 22:08:09 +0100 Subject: [PATCH] fix scores --- html/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/index.php b/html/index.php index 4d74995..1e1546c 100644 --- a/html/index.php +++ b/html/index.php @@ -147,7 +147,7 @@ if(isset($_GET['arena'])){ $siteTitle=htmlentities($_GET['params']); $siteDescription=htmlentities($_GET['params'])." bot details"; $mainSectionScript="../src/aboutBot.php"; - $hist=get_battles_history($r[0]); + $hist=get_battles_history($r[1]); $asideSectionContent='

Scores

'; foreach($hist as $sc){ $asideSectionContent.='

'.$sc['bot1'].' VS '.$sc['bot2'].'