diff --git a/index.php b/index.php
index 73047998..17392619 100644
--- a/index.php
+++ b/index.php
@@ -130,7 +130,7 @@ AccessLogger::logRequest();
|
@@ -159,7 +159,7 @@ AccessLogger::logRequest();
".(time() - (60*10))." AND tribe IN(1, 2, 3)");
- echo !empty($return) ? mysqli_fetch_assoc($return)['Total'] : 0;
+ echo ($online = !empty($return) ? mysqli_fetch_assoc($return)['Total'] : 0);
?> |