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