summaryrefslogtreecommitdiff
path: root/it_browser.class
diff options
context:
space:
mode:
Diffstat (limited to 'it_browser.class')
-rw-r--r--it_browser.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it_browser.class b/it_browser.class
index 17f3a8f..c20b6c3 100644
--- a/it_browser.class
+++ b/it_browser.class
@@ -92,7 +92,7 @@ function it_browser()
if (preg_match("/^([a-z]{2})(\-[a-z]{2})?$/i", $optattr[$i], $regs))
$this->Language = $regs[1];
if (preg_match("/^rv:([0-9\.]+)/", $optattr[$i], $regs))
- $this->Version = floatval($regs[1]);
+ $this->Version = (float)$regs[1];
if (strstr($optattr[$i], "Linux") || $optattr[$i] == "X11")
$this->Platform = "Linux";
}