Change for version manager

Discussion in 'Feedback/Feature Requests' started by murp, Jun 9, 2008.

  1. murp

    murp New Member

    This tidies up the version manager a bit. It should work on both PHP 4 and 5.


    --- ../../html.3.3.10/service/verMgrCont.php 2008-04-20 05:31:59.000000000 -0500
    +++ verMgrCont.php 2008-06-09 00:35:59.000000000 -0500
    @@ -48,7 +48,9 @@
    <td width="120">Release</td><td>Release Notes<td>Actions</td>
    </tr>
    <?
    - rsort($product->installed_releases);
    + natsort($product->installed_releases);
    +
    + $product->installed_releases = array_reverse($product->installed_releases);

    foreach( $product->installed_releases as $rel )
    {
  2. Lauren

    Lauren LiteSpeed Staff Staff Member

    Thanks! Will apply the patch.
  3. murp

    murp New Member

    Looks like my patch didn't get applied... :(
  4. mistwang

    mistwang LiteSpeed Staff

    It is my fault, forgot to re-tag the release after applying the patch. Will update 3.3.15 release package with the patch.

Share This Page