Skip to content

Commit

Permalink
Merge branch 'release/5.2.1'
Browse files Browse the repository at this point in the history
* release/5.2.1:
  updated the changelog
  fixed a bug in Trends
  • Loading branch information
austintoddj committed Feb 9, 2020
2 parents 3f2b7aa + 789391e commit 3344924
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

## [Unreleased](https://github.com/cnvs/canvas/compare/master...develop)

## [5.2.1](https://github.com/cnvs/canvas/compare/v5.2.0...v5.2.1) (February 9, 2020)

### Fixed
- Fixed a bug on referer attributes ([9631885](https://github.com/cnvs/canvas/commit/9631885e1d1cb8330556172d4fc4132d73d38459))

## [5.2.0](https://github.com/cnvs/canvas/compare/v5.1.1...v5.2.0) (February 9, 2020)

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion src/Post.php
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ public function getTopReferersAttribute(): array
$collection = collect();
$data->each(function ($item, $key) use ($collection) {
if (empty(parse_url($item->referer)['host'])) {
$collection->push(__('canvas::app.referer_unknown'));
$collection->push(__('canvas::app.other'));
} else {
$collection->push(parse_url($item->referer)['host']);
}
Expand Down

0 comments on commit 3344924

Please sign in to comment.