diff --git a/system/src/Grav/Console/Gpm/InfoCommand.php b/system/src/Grav/Console/Gpm/InfoCommand.php index 721583032..53290b8ec 100644 --- a/system/src/Grav/Console/Gpm/InfoCommand.php +++ b/system/src/Grav/Console/Gpm/InfoCommand.php @@ -78,12 +78,12 @@ class InfoCommand extends Command $this->output->writeln(''); $packageURL = ''; - if (isset($foundPackage->author->url)) { - $packageURL = '<' . $foundPackage->author->url . '>'; + if (isset($foundPackage->author['url'])) { + $packageURL = '<' . $foundPackage->author['url'] . '>'; } $this->output->writeln("" . str_pad("Author", - 12) . ": " . $foundPackage->author->name . ' <' . $foundPackage->author->email . '> ' . $packageURL); + 12) . ": " . $foundPackage->author['name'] . ' <' . $foundPackage->author['email'] . '> ' . $packageURL); foreach (array( 'version',