summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pear/PEAR/Command/Registry.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/pear/PEAR/Command/Registry.php b/pear/PEAR/Command/Registry.php
index bb12d1ecff..57bc616544 100644
--- a/pear/PEAR/Command/Registry.php
+++ b/pear/PEAR/Command/Registry.php
@@ -263,18 +263,18 @@ installed package.'
} 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 = '';
}