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 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)