mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
Merge pull request #447 from andrewandante/BUGFIX/owns_featuredimage
give BlogPost ownership of FeaturedImage
This commit is contained in:
commit
bc741fb8b8
@ -72,6 +72,13 @@ class BlogPost extends Page
|
||||
'FeaturedImage' => Image::class
|
||||
);
|
||||
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
private static $owns = array(
|
||||
'FeaturedImage',
|
||||
);
|
||||
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user