This commit is contained in:
Christopher Darling 2024-03-24 05:30:25 +13:00 committed by GitHub
commit 7c823f95ef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -500,6 +500,10 @@ class BlogPost extends Page
*/
public function onBeforePublish()
{
if (method_exists(get_parent_class($this), 'onBeforePublish')) {
parent::onBeforePublish();
}
/**
* @var DBDatetime $publishDate
*/