fix for 'installed undefined' error

This commit is contained in:
Andy Miller
2014-11-01 22:18:35 -06:00
parent 7551d0c69a
commit e11c426c38

View File

@@ -58,6 +58,8 @@ class VersionCommand extends Command
$this->gpm = new GPM($this->input->getOption('force'));
$packages = $this->input->getArgument('package');
$installed = false;
if (!count($packages)) {
$packages = ['grav'];
}