aboutsummaryrefslogtreecommitdiffstats
path: root/admin/include/themes.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin/include/themes.class.php')
-rw-r--r--admin/include/themes.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/include/themes.class.php b/admin/include/themes.class.php
index 294046976..a6e234b49 100644
--- a/admin/include/themes.class.php
+++ b/admin/include/themes.class.php
@@ -441,7 +441,7 @@ SELECT
$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'];
}