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 f9eb2a76f1
commit 4a3361ddd8
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}