From 7e9fb6d267574fac2b09b1b98728577285de91e6 Mon Sep 17 00:00:00 2001 From: Jonny Barnes Date: Mon, 7 Nov 2016 12:25:19 +0000 Subject: [PATCH] Hotfix: not using correct variable name :( --- app/Http/Controllers/NotesController.php | 2 +- changelog.md | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/app/Http/Controllers/NotesController.php b/app/Http/Controllers/NotesController.php index eaa151f1..8d4b656b 100644 --- a/app/Http/Controllers/NotesController.php +++ b/app/Http/Controllers/NotesController.php @@ -107,7 +107,7 @@ class NotesController extends Controller if (isset($microformats['items'][0]['properties']['published'][0])) { $content['date'] = $carbon->parse($microformats['items'][0]['properties']['published'][0])->toDayDateTimeString(); } else { - $content['date'] = $note->webmention->updated_at->toDayDateTimeString(); + $content['date'] = $webmention->updated_at->toDayDateTimeString(); } $content['reply'] = $this->filterHTML($microformats['items'][0]['properties']['content'][0]['html']); $replies[] = $content; diff --git a/changelog.md b/changelog.md index 7c0daf3c..4a47edd6 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,8 @@ # Changelog +## Version 0.0.15.9 (2016-11-07) + - Hotfix: not using cerated variable of foreach loop + ## Version 0.0.15.8 (2016-11-07) - Hotfix: facebook’s love-of appears as an in-reply-to without a published date