don't actually need a ternary here
This commit is contained in:
parent
949430b487
commit
9e0e9a4fed
|
@ -150,6 +150,6 @@ class BlogArchiveWidget extends Widget
|
|||
|
||||
$this->extend('updateGetArchive', $result);
|
||||
|
||||
return $this->NumberToDisplay ? $result->limit($this->NumberToDisplay) : $result;
|
||||
return $result->limit($this->NumberToDisplay);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue