From 1a4ea39a601665fd7286ecd8fcfe5957944b3c16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Gavenda?= Date: Thu, 17 Feb 2011 16:23:18 -0800 Subject: [PATCH] DibiProfiler: iterator fix --- dibi/libs/DibiProfiler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dibi/libs/DibiProfiler.php b/dibi/libs/DibiProfiler.php index 57e88cea..b72a9089 100644 --- a/dibi/libs/DibiProfiler.php +++ b/dibi/libs/DibiProfiler.php @@ -265,7 +265,7 @@ class DibiProfiler extends DibiObject implements IDibiProfiler, IDebugPanel { $s = NULL; $h = 'htmlSpecialChars'; - foreach (self::$tickets as $ticket) { + foreach (self::$tickets as $i => $ticket) { list($connection, $event, $sql, $time, $count, $source) = $ticket; if (!($event & self::QUERY)) continue;