diff options
Diffstat (limited to 'admin/include/languages.class.php')
-rw-r--r-- | admin/include/languages.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/include/languages.class.php b/admin/include/languages.class.php index cfcacc934..b55024992 100644 --- a/admin/include/languages.class.php +++ b/admin/include/languages.class.php @@ -230,7 +230,7 @@ UPDATE '.USER_INFOS_TABLE.' $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']; } |