aboutsummaryrefslogtreecommitdiffstats
path: root/admin/include/languages.class.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--admin/include/languages.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/include/languages.class.php b/admin/include/languages.class.php
index 3698de2bf..7ef3bc6b1 100644
--- a/admin/include/languages.class.php
+++ b/admin/include/languages.class.php
@@ -234,7 +234,7 @@ UPDATE '.USER_INFOS_TABLE.'
{
$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)