Skip to content
Permalink
Browse files

Fixed query error in newer versions of sqlite and postgre

  • Loading branch information...
adolfintel committed Oct 1, 2019
1 parent 1b059e6 commit 0c7ef8e979f8daee9f42606d1c94148ee64ccd45
Showing with 1 addition and 1 deletion.
  1. +1 −1 results/stats.php
@@ -110,7 +110,7 @@
$q->store_result();
$q->bind_result($id,$timestamp,$ip,$ispinfo,$ua,$lang,$dl,$ul,$ping,$jitter,$log,$extra);
} else if($db_type=="sqlite"||$db_type=="postgresql"){
$q=$conn->prepare("select id,timestamp,ip,ispinfo,ua,lang,dl,ul,ping,jitter,log,extra from speedtest_users order by timestamp desc limit 0,100");
$q=$conn->prepare("select id,timestamp,ip,ispinfo,ua,lang,dl,ul,ping,jitter,log,extra from speedtest_users order by timestamp desc limit 100");
$q->execute();
}else die();
}

0 comments on commit 0c7ef8e

Please sign in to comment.
You can’t perform that action at this time.