summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Douglass2006-11-17 14:54:03 (GMT)
committer Robert Douglass2006-11-17 14:54:03 (GMT)
commit57b3b8290b02c121b45dda73e6fa2c853bc6c431 (patch)
tree5c92a5eed7ef693855b19552a3035648f38c4910
parenta1330248c5959d3470b17c6d36b94c73174f9c32 (diff)
#83511 by bdragon. Devel mod can now spot duplicate queries again. This be my first commit since the new release system... hoping I don't screw it up
-rw-r--r--devel.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/devel.module b/devel.module
index 359ebfc..477b643 100644
--- a/devel.module
+++ b/devel.module
@@ -631,10 +631,10 @@ function devel_query_table($queries, $counts) {
// dprint_r($query);
$ar = explode("\n", $query[0]);
$function=array_shift($ar);
+ $count = isset($counts[$query[0]]) ? $counts[$query[0]] : 0;
$query[0]=join(' ',$ar);
$diff = round($query[1] * 1000, 2);
- $count = isset($counts[$query[0]]) ? $counts[$query[0]] : 0;
if ($diff > variable_get('devel_execution', 5)) {
$cell[$i][] = array ('data' => $diff, 'class' => 'marker');
}