Fix error in App\WebMention.php
This commit is contained in:
parent
24c200fe4a
commit
8acde31d87
2 changed files with 5 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue