diff --git a/dibi/libs/DibiProfiler.php b/dibi/libs/DibiProfiler.php
index cc33e7f7..fd5cb0fa 100644
--- a/dibi/libs/DibiProfiler.php
+++ b/dibi/libs/DibiProfiler.php
@@ -300,27 +300,26 @@ class DibiProfiler extends DibiObject implements IDibiProfiler, IBarPanel
$s .= "
explain ►";
}
- $s .= '
' . dibi::dump(strlen($sql) > self::$maxLength ? substr($sql, 0, self::$maxLength) . '...' : $sql, TRUE);
+ $s .= ' | ' . dibi::dump(strlen($sql) > self::$maxLength ? substr($sql, 0, self::$maxLength) . '...' : $sql, TRUE);
if ($explain) {
$s .= " {$explain} ";
}
if ($source) {
list($file, $line) = $source;
- $s .= "{$h(basename(dirname($file)) . '/' . basename($file))}:$line";
+ $s .= "{$h(basename(dirname($file)) . '/' . basename($file))}:$line";
}
$s .= " | {$count} | {$h($connection->getConfig('driver') . '/' . $connection->getConfig('name'))} | ";
}
return $s === NULL ? '' :
- '
-
+ '
Queries: ' . dibi::$numOfQueries . (dibi::$totalTime === NULL ? '' : ', time: ' . sprintf('%0.3f', dibi::$totalTime * 1000) . ' ms') . '
-
+
- Time | SQL Statement | Rows | Connection | ' . $s . '
+ Time ms | SQL Statement | Rows | Connection |
' . $s . '
';
}