Commit bdd28f4a authored by Leigh Stoller's avatar Leigh Stoller

Minor bug fix.

parent 694f61c4
......@@ -484,6 +484,9 @@ class Instance
else
$diff = $destroyed - $created;
if ($diff < 0)
$diff = 0;
$phours += $pnodes * ($diff / 3600.0);
}
return $phours;
......
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