diff options
Diffstat (limited to 'admin/include/themes.class.php')
-rw-r--r-- | admin/include/themes.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/include/themes.class.php b/admin/include/themes.class.php index dd783d7aa..cb754a099 100644 --- a/admin/include/themes.class.php +++ b/admin/include/themes.class.php @@ -471,7 +471,7 @@ SELECT { $version = $pem_versions[0]['name']; } - $branch = substr($version, 0, strrpos($version, '.')); + $branch = get_branch_from_version($version); foreach ($pem_versions as $pem_version) { if (strpos($pem_version['name'], $branch) === 0) |