From c95f602ea23ec8fe340ebcbd9fb1a10e7d5065af Mon Sep 17 00:00:00 2001 From: Andy Miller Date: Thu, 9 Apr 2015 12:37:46 -0600 Subject: [PATCH] fixes for changelog --- system/src/Grav/Console/Gpm/SelfupgradeCommand.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/system/src/Grav/Console/Gpm/SelfupgradeCommand.php b/system/src/Grav/Console/Gpm/SelfupgradeCommand.php index 871c04a32..7226f3ce0 100644 --- a/system/src/Grav/Console/Gpm/SelfupgradeCommand.php +++ b/system/src/Grav/Console/Gpm/SelfupgradeCommand.php @@ -111,10 +111,10 @@ class SelfupgradeCommand extends Command $this->output->writeln(""); foreach ($changelog as $version => $log) { - $title = $version . ' [' . $log->date . ']'; + $title = $version . ' [' . $log['date'] . ']'; $content = preg_replace_callback("/\d\.\s\[\]\(#(.*)\)/", function ($match) { return "\n" . ucfirst($match[1]) . ":"; - }, $log->content); + }, $log['content']); $this->output->writeln($title); $this->output->writeln(str_repeat('-', strlen($title)));