diff options
author | mistic100 <mistic@piwigo.org> | 2012-06-29 15:08:00 +0000 |
---|---|---|
committer | mistic100 <mistic@piwigo.org> | 2012-06-29 15:08:00 +0000 |
commit | 9883bd67ef1c12a6c7b981094341268b115a45ce (patch) | |
tree | 5161a7512d645cc650cd81a6ec5febd5da2aea88 /admin/include/updates.class.php | |
parent | d4402725e150a3b4721749206bf1196d17d54f52 (diff) |
bug 2671: use get_branch_from_version() to find the real branch, however the version looks like
git-svn-id: http://piwigo.org/svn/trunk@16179 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-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)
|