From aa7d447d25578f1b67d09d19ee20dec3502ceb46 Mon Sep 17 00:00:00 2001 From: "Tomas V.V.Cox" Date: Thu, 6 Jun 2002 09:05:04 +0000 Subject: [PATCH] Forgot that one --- pear/PEAR/Command/Package.php | 4 ++-- 1 file 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); -- 2.40.0