1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-05 13:47:33 +02:00

DibiProfiler: iterator fix

This commit is contained in:
Lukáš Gavenda
2011-02-17 16:23:18 -08:00
committed by David Grudl
parent acda14ca64
commit 1a4ea39a60

View File

@@ -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;