Ignore:
Timestamp:
Jun 29, 2012, 5:08:00 PM (12 years ago)
Author:
mistic100
Message:

bug 2671: use get_branch_from_version() to find the real branch, however the version looks like

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/include/plugins.class.php

    r16177 r16179  
    276276        $version = $pem_versions[0]['name'];
    277277      }
    278      
    279       if (substr_count($version, '.') > 1)
    280       {
    281         $branch = substr($version, 0, strrpos($version, '.'));
    282       }
    283       else
    284       {
    285         $branch = $version;
    286       }
    287      
     278      $branch = get_branch_from_version($version);
    288279      foreach ($pem_versions as $pem_version)
    289280      {
Note: See TracChangeset for help on using the changeset viewer.