diff --git a/web/site/instances.php b/web/site/instances.php index 8ee3eef..d330dc5 100644 --- a/web/site/instances.php +++ b/web/site/instances.php @@ -959,7 +959,7 @@ function tquery($query,$line) { $bt=hrtime(true); //usleep(rand(10000,1050000)); $res=mysqli_query($link,$query) or muorimeglio('Error on line '.$line.': '.mysqli_error($link),true); - debug(sprintf('%f secs. for query «'.$query.'»'.N,hrte($bt)),$debug); + debug(sprintf('%f secs. for query «'.str_replace('%','%%',$query).'»'.N,hrte($bt)),$debug); return $res; }