silverstripe/silverstripe-blog — pull request #73 by Josua2012 (2013-02-01 20:50:27+00:00)
Title: FIXED:  BlogHolder.php: Line 297 deprecated

Hi!

SilverStripe 3.1 beta from github 31.01.2013
silverstripe-blog from github 31.01.2013

The line 297 (BlogHolder.php):

if(Object::has_extension($this->ClassName, 'Translatable')) {
$blogentry->Locale = $this->Locale;
}

should be:

$className = $this->ClassName;
if($className::has_extension('Translatable')) {
$blogentry->Locale = $this->Locale;
}

Regards,
Jose A.