From 8acde31d87e4c320c886324caa9343bf6231abae Mon Sep 17 00:00:00 2001 From: Jonny Barnes Date: Tue, 27 Jun 2017 17:29:16 +0100 Subject: [PATCH] Fix error in App\WebMention.php --- app/WebMention.php | 4 ++-- changelog.md | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/app/WebMention.php b/app/WebMention.php index 19f827d4..3c1ee3a7 100644 --- a/app/WebMention.php +++ b/app/WebMention.php @@ -70,10 +70,10 @@ class WebMention extends Model $microformats['items'][0]['properties']['published'][0] )->toDayDateTimeString(); } catch (\Exception $exception) { - $published = $webmention->updated_at->toDayDateTimeString(); + $published = $this->updated_at->toDayDateTimeString(); } } else { - $published = $webmention->updated_at->toDayDateTimeString(); + $published = $this->updated_at->toDayDateTimeString(); } return $published; diff --git a/changelog.md b/changelog.md index d864d522..29a0c216 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,8 @@ # Changelog +## Version 0.5.19 (2017-06-27) + - Fix error in App\\WebMention.php + ## Version 0.5.18 (2017-06-23) - Minor change in deploy script to speed things up