diff --git a/index.php b/index.php index 29d7a5d4..edd9c46c 100644 --- a/index.php +++ b/index.php @@ -156,7 +156,7 @@ include ("GameEngine/Lang/".LANG.".php"); ".(time() - (60*10))." AND tribe!=0 AND tribe!=4 AND tribe!=5"); - $online=(!empty($return))? mysqli_num_rows($return):0; + $online=(!empty($return))? mysqli_fetch_assoc($return)['Total']:0; echo $online; ?>