diff options
Diffstat (limited to 'admin/include/updates.class.php')
-rw-r--r-- | admin/include/updates.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/include/updates.class.php b/admin/include/updates.class.php index 3a81fbb0f..0ec0e0c40 100644 --- a/admin/include/updates.class.php +++ b/admin/include/updates.class.php @@ -63,7 +63,7 @@ class updates {
$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)
|