From 65eb5ecadd0e114abeb19fa13694789c23c22586 Mon Sep 17 00:00:00 2001
From: TonyFord <tonyford@strategy-investor.de>
Date: Fri, 5 Aug 2022 19:01:07 +0200
Subject: [PATCH] ts

---
 html/functions/db_methods.php | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/html/functions/db_methods.php b/html/functions/db_methods.php
index 618eff9..19716fb 100644
--- a/html/functions/db_methods.php
+++ b/html/functions/db_methods.php
@@ -288,7 +288,8 @@ function db_getLatestFromSpieler($days=34){
 
   $sql = 'SELECT *, Statistik.zeitstempel AS zeitstempl FROM Spieler INNER JOIN Statistik ON Spieler.id = Statistik.SpielerID WHERE Statistik.zeitstempel > NOW()-'.$days.' GROUP BY SpielerID ORDER BY zeitstempl DESC';
   $result = $db->query($sql);
-
+  echo $sql;
+  
   $ROW=Array();
   while( $row = $result->fetch_assoc() ){
     $row['id']=bin2hex($row['id']);
-- 
GitLab