1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-13 01:54:12 +02:00

Fix for $tp->toFile()

This commit is contained in:
Cameron
2017-01-23 10:31:30 -08:00
parent 43d0211590
commit 9ebc0bfa92
3 changed files with 30 additions and 7 deletions

View File

@@ -448,7 +448,7 @@ class e107_db_debug {
$tMarker['Memory Used'] = "<span class='label label-danger'>".$tMarker['Memory Used']."</span>";
}
// $aSum['Memory'] += $tMem;
$aSum['Memory'] = $tMem;
if($tMarker['What'] == 'Stop')
{
@@ -511,7 +511,9 @@ class e107_db_debug {
<td class='fcaption' style='text-align:right' title='DB Time (msec)'><b>" . $aSum['DB Time'] . "</b></td>
<td class='fcaption' style='text-align:right'><b>" . $aSum['DB Count'] . "</b></td>
<td class='fcaption' style='text-align:right' title='Memory (Kb)'><b>" . number_format($aSum['Memory'] / 1024, 1) . "</b></td>
<td class='fcaption' style='text-align:right'><b>" . $tMarker['OB Lev'] . "</b></td>
<td class='fcaption' style='text-align:right' title='Memory (Kb)'><b>" . number_format($aSum['Memory'] / 1024, 1) . "</b></td>
<td class='fcaption' style='text-align:right'><b>" . $tMarker['OB Lev'] . "</b></td>
</tr>
";