Skip to content

Commit

Permalink
FIX Title bug due to silverstripe#320
Browse files Browse the repository at this point in the history
  • Loading branch information
camfindlay committed Nov 9, 2015
1 parent a27dd89 commit cd60404
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/model/Blog.php
Original file line number Diff line number Diff line change
Expand Up @@ -927,7 +927,7 @@ public function getFilterDescription() {
);
}

if($this->owner->getArchiveYear()) {
if($this->owner->getArchiveYear() && ($this->request->param('Year') || $this->request->param('Action') == "archive")) {
if($this->owner->getArchiveDay()) {
$date = $this->owner->getArchiveDate()->Nice();
} elseif($this->owner->getArchiveMonth()) {
Expand Down

0 comments on commit cd60404

Please sign in to comment.