summaryrefslogtreecommitdiffstats
path: root/pts-core/functions/pts-functions_tests.php
diff options
context:
space:
mode:
authorMichael Larabel <michael@phx-laptop.(none)>2008-11-30 11:23:48 -0500
committerMichael Larabel <michael@phx-laptop.(none)>2008-11-30 11:23:48 -0500
commitadbeecf3847a5aebd00640cb20aecc575011b3de (patch)
tree954d118798686987344631ff1c7d361bc2d7201b /pts-core/functions/pts-functions_tests.php
parent3149b8438d52c636702d299f3295ef3322bcf0fb (diff)
downloadphoronix-test-suite-upstream-adbeecf3847a5aebd00640cb20aecc575011b3de.tar.gz
phoronix-test-suite-upstream-adbeecf3847a5aebd00640cb20aecc575011b3de.tar.xz
phoronix-test-suite-upstream-adbeecf3847a5aebd00640cb20aecc575011b3de.zip
pts-core: Update CSS and XSL for results viewer, fix table column
alignment bug
Diffstat (limited to 'pts-core/functions/pts-functions_tests.php')
-rw-r--r--pts-core/functions/pts-functions_tests.php9
1 files changed, 1 insertions, 8 deletions
diff --git a/pts-core/functions/pts-functions_tests.php b/pts-core/functions/pts-functions_tests.php
index f96aae0..ae84ae7 100644
--- a/pts-core/functions/pts-functions_tests.php
+++ b/pts-core/functions/pts-functions_tests.php
@@ -640,14 +640,7 @@ function pts_test_version_compatible($version_compare = "")
$support_ends = preg_replace("/[^0-9]/", "", $support_ends);
- if($current >= $support_begins && $current <= $support_ends)
- {
- $compatible = true;
- }
- else
- {
- $compatible = false;
- }
+ $compatible = $current >= $support_begins && $current <= $support_ends;
}
return $compatible;