Altered getExcerpt to Excerpt so that params are passed where previously lost in magic methods

This commit is contained in:
micmania1 2013-08-12 15:51:25 +01:00
parent a3af358f61
commit 2c6235f9d8

View File

@ -131,7 +131,7 @@ class BlogPost extends Page {
* *
* @return string * @return string
**/ **/
public function getExcerpt($wordCount = 30) { public function Excerpt($wordCount = 30) {
return $this->dbObject("Content")->LimitWordCount($wordCount); return $this->dbObject("Content")->LimitWordCount($wordCount);
} }