cvs: php4 /pear/PEAR/Command Registry.php
| From: | Tomas V.V.Cox | Date: | Fri, 07 Jun 2002 10:20:41 +0000 |
| Subject: | cvs: php4 /pear/PEAR/Command Registry.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-4477@lists.php.net to get a copy of this message | ||
cox Fri Jun 7 06:20:41 2002 EDT
Modified files:
/php4/pear/PEAR/Command Registry.php
Log:
More info output retouchs
Index: php4/pear/PEAR/Command/Registry.php
diff -u php4/pear/PEAR/Command/Registry.php:1.22 php4/pear/PEAR/Command/Registry.php:1.23
--- php4/pear/PEAR/Command/Registry.php:1.22 Fri Jun 7 04:45:00 2002
+++ php4/pear/PEAR/Command/Registry.php Fri Jun 7 06:20:41 2002
@@ -17,7 +17,7 @@
// | |
// +----------------------------------------------------------------------+
//
-// $Id: Registry.php,v 1.22 2002/06/07 08:45:00 cox Exp $
+// $Id: Registry.php,v 1.23 2002/06/07 10:20:41 cox Exp $
require_once 'PEAR/Command/Common.php';
require_once 'PEAR/Registry.php';
@@ -263,18 +263,18 @@
} else {
$rel = $d['rel'];
}
-
if (isset($this->_deps_type_trans[$d['type']])) {
$type = ucfirst($this->_deps_type_trans[$d['type']]);
} else {
$type = $d['type'];
}
-
if (isset($d['name'])) {
$name = $d['name'] . ' ';
+ } else {
+ $name = '';
}
if (isset($d['version'])) {
- $version = $d['version'];
+ $version = $d['version'] . ' ';
} else {
$version = '';
}