aboutsummaryrefslogtreecommitdiffstats
path: root/admin/include/updates.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/include/updates.class.php')
-rw-r--r--admin/include/updates.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/include/updates.class.php b/admin/include/updates.class.php
index 61fe455d3..1586df8c3 100644
--- a/admin/include/updates.class.php
+++ b/admin/include/updates.class.php
@@ -59,7 +59,7 @@ class updates
$url = PEM_URL . '/api/get_version_list.php';
if (fetchRemote($url, $result, $get_data) and $pem_versions = @unserialize($result))
{
- if (!preg_match('/^\d+\.\d+\.\d+/', $version))
+ if (!preg_match('/^\d+\.\d+\.\d+$/', $version))
{
$version = $pem_versions[0]['name'];
}