summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas V.V.Cox <cox@php.net>2002-06-06 09:05:04 +0000
committerTomas V.V.Cox <cox@php.net>2002-06-06 09:05:04 +0000
commitaa7d447d25578f1b67d09d19ee20dec3502ceb46 (patch)
treed6c3efcffa0f4046f91304471dab3ae122a8e4f2
parent8447d094c6dd1c0c7516df97ba9fe4c2136a533b (diff)
downloadphp-git-aa7d447d25578f1b67d09d19ee20dec3502ceb46.tar.gz
Forgot that one
-rw-r--r--pear/PEAR/Command/Package.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/pear/PEAR/Command/Package.php b/pear/PEAR/Command/Package.php
index b3aed7b4d4..5c0e79fd5c 100644
--- a/pear/PEAR/Command/Package.php
+++ b/pear/PEAR/Command/Package.php
@@ -208,7 +208,7 @@ List all depencies the package has.'
return $info;
}
$data = &PEAR_Command_Package::_infoForDisplaying($info);
- $this->ui->outputData($data, $command);
+ $this->ui->outputData($data, 'package-info');
}
/**
@@ -270,7 +270,7 @@ List all depencies the package has.'
$info[$key] = preg_replace('/ +/', ' ', $info[$key]);
}
}
- $caption = 'About ' . basename($params[0]);
+ $caption = 'About ' . $info['package'];
$data = array(
'caption' => $caption,
'border' => true);