summaryrefslogtreecommitdiffstats
path: root/pts-core/objects
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-11-22 09:34:25 -0500
committerMichael Larabel <michael@phx-laptop.(none)>2008-11-22 09:34:25 -0500
commit052f187be76726df8c2fed355bf81498cef34768 (patch)
tree0ea3b72b2b42f002d65b1fc6024c0b1ddd77a71e /pts-core/objects
parentd100fa6b0f19cb257bb4667543851a815b114fc2 (diff)
downloadphoronix-test-suite-upstream-052f187be76726df8c2fed355bf81498cef34768.tar.gz
phoronix-test-suite-upstream-052f187be76726df8c2fed355bf81498cef34768.tar.xz
phoronix-test-suite-upstream-052f187be76726df8c2fed355bf81498cef34768.zip
graphics_override, email_results, toggle_screensaver: Update to take
advantage of latest API
Diffstat (limited to 'pts-core/objects')
-rw-r--r--pts-core/objects/pts_test_usage_details.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/pts-core/objects/pts_test_usage_details.php b/pts-core/objects/pts_test_usage_details.php
index ef1ef4d..4a1aeab 100644
--- a/pts-core/objects/pts_test_usage_details.php
+++ b/pts-core/objects/pts_test_usage_details.php
@@ -39,7 +39,7 @@ class pts_test_usage_details
$this->average_run_time = pts_format_time_string($xml_parser->getXMLValue(P_INSTALL_TEST_AVG_RUNTIME), "SECONDS", false);
$this->times_run = $xml_parser->getXMLValue(P_INSTALL_TEST_TIMESRUN);
- if($this->last_run_time == "0000-00-00" || $this->install_time == $this->last_run_time)
+ if($this->last_run_time == "0000-00-00" || empty($this->times_run))
{
$this->last_run_time = "NEVER";
$this->times_run = "";