summaryrefslogtreecommitdiff
path: root/pear/PEAR/Command/Remote.php
diff options
context:
space:
mode:
Diffstat (limited to 'pear/PEAR/Command/Remote.php')
-rw-r--r--pear/PEAR/Command/Remote.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/pear/PEAR/Command/Remote.php b/pear/PEAR/Command/Remote.php
index dfb3f77707..0e6e94d11d 100644
--- a/pear/PEAR/Command/Remote.php
+++ b/pear/PEAR/Command/Remote.php
@@ -147,7 +147,7 @@ version of DB is 1.2, the downloaded file will be DB-1.2.tgz.',
'headline' => array('Package', 'Version'),
);
foreach ($available as $name => $info) {
- $data['data'][] = array($name, $info['stable']);
+ $data['data'][] = array($name, isset($info['stable']) ? $info['stable'] : '-n/a-');
}
if (count($available)==0) {
$data = '(no packages installed yet)';