cvs: pear-core /PEAR/Command Remote.php
| From: | Greg Beaver | Date: | Wed, 06 Apr 2005 01:12:40 +0000 |
| Subject: | cvs: pear-core /PEAR/Command Remote.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-cvs+get-30943@lists.php.net to get a copy of this message | ||
cellog Tue Apr 5 21:12:40 2005 EDT
Modified files:
/pear-core/PEAR/Command Remote.php
Log:
fix Bug #4072: pear list-all -c channel does not list installed packages
http://cvs.php.net/diff.php/pear-core/PEAR/Command/Remote.php?r1=1.66&r2=1.67&ty=u
Index: pear-core/PEAR/Command/Remote.php
diff -u pear-core/PEAR/Command/Remote.php:1.66 pear-core/PEAR/Command/Remote.php:1.67
--- pear-core/PEAR/Command/Remote.php:1.66 Sun Apr 3 17:34:38 2005
+++ pear-core/PEAR/Command/Remote.php Tue Apr 5 21:12:40 2005
@@ -17,7 +17,7 @@
* @author Greg Beaver <cellog@php.net>
* @copyright 1997-2005 The PHP Group
* @license http://www.php.net/license/3_0.txt
PHP License 3.0
- * @version CVS: $Id: Remote.php,v 1.66 2005/04/03 21:34:38 cellog Exp $
+ * @version CVS: $Id: Remote.php,v 1.67 2005/04/06 01:12:40 cellog Exp $
* @link http://pear.php.net/package/PEAR
* @since File available since Release 0.1
*/
@@ -271,7 +271,7 @@
$local_pkgs = $reg->listPackages($channel);
foreach ($available as $name => $info) {
- $installed = $reg->packageInfo($name);
+ $installed = $reg->packageInfo($name, null, $channel);
if (is_array($installed['version'])) {
$installed['version'] =
$installed['version']['release'];
}