From 82bd54eb0bbeabc65d682e9cce91ced01c15c861 Mon Sep 17 00:00:00 2001 From: Gert Date: Sat, 4 Apr 2015 14:02:28 +0200 Subject: [PATCH] update Console/GPM for refactored Common/GPM --- system/src/Grav/Console/Gpm/InfoCommand.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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',