]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/matita/scripts/public_html/common.php
mah...
[helm.git] / helm / matita / scripts / public_html / common.php
index e1bef4dd71599bd3385a8ab28749f239f062d358..f2a9be030ea5e26c36788fa13b2bbbd8c9945baa 100644 (file)
@@ -5,7 +5,7 @@ function query($q) {
   mysql_select_db("matita");
   if (preg_match("/TIME_TO_SEC/",$q)) {
     $group_by = true;
-    $q = preg_replace("/group by mark/","",$q);
+    $q = preg_replace("/group by bench.mark/","",$q);
     $q = preg_replace("/SEC_TO_TIME\(SUM\(TIME_TO_SEC\(([^)]+)\)\)\)/","$1",$q);
   }
   $rc = mysql_query($q,$db);