cvs: pearweb /include pear-database.php

From: Date: Thu, 28 Jul 2005 21:34:06 +0000
Subject: cvs: pearweb /include pear-database.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-cvs+get-33447@lists.php.net to get a copy of this message
cellog Thu Jul 28 17:34:06 2005 EDT Modified files: /pearweb/include pear-database.php Log: make sure that packages with no stable releases still get listed in remote-list/list-all http://cvs.php.net/diff.php/pearweb/include/pear-database.php?r1=1.280&r2=1.281&ty=u Index: pearweb/include/pear-database.php diff -u pearweb/include/pear-database.php:1.280 pearweb/include/pear-database.php:1.281 --- pearweb/include/pear-database.php:1.280 Thu Jul 14 16:29:07 2005 +++ pearweb/include/pear-database.php Thu Jul 28 17:34:06 2005 @@ -17,7 +17,7 @@ | Tomas V.V.Cox <cox@php.net> | | Martin Jansen <mj@php.net> | +----------------------------------------------------------------------+ - $Id: pear-database.php,v 1.280 2005/07/14 20:29:07 mj Exp $ + $Id: pear-database.php,v 1.281 2005/07/28 21:34:06 cellog Exp $ */ require_once 'DB/storage.php'; @@ -864,6 +864,9 @@ } } $packageinfo[$pkg]['state'] = $stable['state']; + if (isset($packageinfo[$pkg]['unstable']) && !$packageinfo[$pkg]['stable']) { + $packageinfo[$pkg]['stable'] = $packageinfo[$pkg]['unstable']; + } } } $var = !$stable_only ? 'allreleases' : 'stablereleases';

« previous php.pear.cvs (#33447) next »