2012-05-16, 15:53:15
(This post was last modified: 2012-05-16, 15:54:45 by Chuck Brown.)
mikeh Wrote:Did you choose excerpt length?Of course, that was the first thing I checked
Figured out what the problem is, parameter 3 ($maxchars) is passed as string, when long is expected. Fixed it by changing line 558 of Blog.php
Code:
public function create_excerpt($content, $start, $maxchars)
Code:
public function create_excerpt($content, $start, (int) $maxchars)
My PHP version: 5.3.10