Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updates

  • Loading branch information...
commit 5cbdb73f548d01fb5e4a103d647cc4e91e0e56ec 1 parent 5e7acda
@int13h authored
Showing with 5 additions and 2 deletions.
  1. +5 −2 .stub/brief.php
View
7 .stub/brief.php
@@ -218,6 +218,7 @@ function lastTime($stamp) {
\r<th class=sort width=80>% of Total</th></tr></thead>\n";
$rC = 0;
+$maxStamp = array();
foreach ($statusList as $key => $status) {
@@ -228,6 +229,7 @@ function lastTime($stamp) {
if (isset($presentCats[$key])) {
list($numEvents,$stamp,$sig,$src,$dst) = explode('||', $presentCats[$key]);
$stamp = formatStamp($stamp,0);
+ $maxStamp[] = $stamp;
if ($numEvents > 0) {
$per = round($numEvents / $sumEvents * 100,2) . "%";
} else {
@@ -239,7 +241,10 @@ function lastTime($stamp) {
$stamp = "-";
}
+ $stampLine = lastTime($stamp);
+
if ($key == -1) {
+ $stampLine = lastTime(max($maxStamp));
$numEvents = $sumEvents;
$sig = $sigCount;
$src = $srcCount[0];
@@ -247,8 +252,6 @@ function lastTime($stamp) {
$per = '100%';
}
- $stampLine = lastTime($stamp);
-
if (strlen($key) < 2) {
$key = 0 . $key;
}
Please sign in to comment.
Something went wrong with that request. Please try again.