From bde73eda624b3d07ccb706a3b9aa7eb23a9be75f Mon Sep 17 00:00:00 2001 From: Christopher Pitt Date: Mon, 25 May 2015 13:39:51 +1200 Subject: [PATCH] Fixed migration error --- code/compat/pages/BlogEntry.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/compat/pages/BlogEntry.php b/code/compat/pages/BlogEntry.php index a80a7bf..74b451d 100644 --- a/code/compat/pages/BlogEntry.php +++ b/code/compat/pages/BlogEntry.php @@ -52,8 +52,9 @@ class BlogEntry extends BlogPost implements MigratableObject { if($this->ClassName === 'BlogEntry') { $this->ClassName = 'BlogPost'; - $this->write(); } + + $this->write(); } /**