diff options
Diffstat (limited to 'pear/PEAR/Command/Remote.php')
-rw-r--r-- | pear/PEAR/Command/Remote.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pear/PEAR/Command/Remote.php b/pear/PEAR/Command/Remote.php index a7f5c0c74b..5ff2dc3ae1 100644 --- a/pear/PEAR/Command/Remote.php +++ b/pear/PEAR/Command/Remote.php @@ -278,6 +278,9 @@ parameter. if ($info['unstable']) { $unstable = '/(' . $info['unstable'] . $info['state'] . ')'; } + if (!isset($info['stable']) || !$info['stable']) { + $info['stable'] = 'none'; + } $data['data'][$info['category']][] = array( $name, $info['stable'] . $unstable, @@ -287,7 +290,7 @@ parameter. } if (!isset($data['data'])) { return $this->raiseError('no packages found'); - }; + } $this->ui->outputData($data, $command); return true; } |