Skip to content

Commit

Permalink
MFH
Browse files Browse the repository at this point in the history
fixed #534 for real (remove notice if state=stable doesn't exist, and use "none" for stable version number)
  • Loading branch information
Greg Beaver committed Apr 3, 2004
1 parent 4b1deca commit 56c1fec
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pear/PEAR/Command/Remote.php
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,9 @@ function doSearch($command, $options, $params)
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,
Expand All @@ -287,7 +290,7 @@ function doSearch($command, $options, $params)
}
if (!isset($data['data'])) {
return $this->raiseError('no packages found');
};
}
$this->ui->outputData($data, $command);
return true;
}
Expand Down

0 comments on commit 56c1fec

Please sign in to comment.