Fix PHP warning in the show command when using the -s flag

main
Fabien Potencier 12 years ago
parent a04591bbd7
commit b5897b291d

@ -77,6 +77,7 @@ EOT
// show single package or single version
if ($input->getArgument('package') || !empty($package)) {
$versions = array();
if (empty($package)) {
list($package, $versions) = $this->getPackage($installedRepo, $repos, $input->getArgument('package'), $input->getArgument('version'));

Loading…
Cancel
Save