Possible fix for #1325

This commit is contained in:
James Cole
2018-04-07 18:00:09 +02:00
parent 7af10aca9e
commit d3701837e3
3 changed files with 57 additions and 35 deletions

View File

@@ -171,6 +171,7 @@ class TagController extends Controller
$now = new Carbon;
$clouds = [];
$clouds['no-date'] = $repository->tagCloud(null);
while ($now > $start) {
$year = $now->year;
$clouds[$year] = $repository->tagCloud($year);