Commit 42709260 authored by Mac Newbold's avatar Mac Newbold

Don't show last activity if it doesn't have any.

parent 7ea30876
......@@ -638,15 +638,17 @@ function SHOWEXP($pid, $eid) {
$lastact = TBGetExptLastAct($pid,$eid);
$idletime = TBGetExptIdleTime($pid,$eid);
echo "<tr>
if ($lastact != -1) {
echo "<tr>
<td>Last Activity: </td>
<td class=\"left\">$lastact</td>
</tr>\n";
echo "<tr>
echo "<tr>
<td>Idle Time: </td>
<td class=\"left\">$idletime hours</td>
</tr>\n";
}
if (! ($swapreqs=="" || $swapreqs==0)) {
echo "<tr>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment