aboutsummaryrefslogtreecommitdiffstats
path: root/admin/include/themes.class.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2011-06-01 10:45:45 +0000
committerplegall <plg@piwigo.org>2011-06-01 10:45:45 +0000
commit53b859811fd8436b8b51675cec7f201b64f31f62 (patch)
tree2d6c8306108019c0a7ebfa5668d0a8b84275f305 /admin/include/themes.class.php
parentd29c7cd0a8dd9f4bac86423fdbf06ecabcbc58f8 (diff)
bug fixed: accept Piwigo version with a pattern like 2.3.0beta1 in plugins/themes/languages/updates management classes
git-svn-id: http://piwigo.org/svn/trunk@11185 68402e56-0260-453c-a942-63ccdbb3a9ee
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'];
}