Altered getExcerpt to Excerpt so that params are passed where previously lost in magic methods
This commit is contained in:
parent
f9eb2a76f1
commit
4a3361ddd8
|
@ -135,7 +135,7 @@ class BlogPost extends Page {
|
|||
*
|
||||
* @return string
|
||||
**/
|
||||
public function getExcerpt($wordCount = 30) {
|
||||
public function Excerpt($wordCount = 30) {
|
||||
return $this->dbObject("Content")->LimitWordCount($wordCount);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue