mirror of
https://github.com/php/php-src.git
synced 2025-08-18 06:58:55 +02:00
fixed #534 for real (remove notice if state=stable doesn't exist, and use "none" for stable version number)
This commit is contained in:
parent
4493bbb809
commit
ae73e40808
1 changed files with 4 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue