From b831bb87d8470ab625c13cd6b18e89c5e72543ae Mon Sep 17 00:00:00 2001 From: Phill Price Date: Thu, 23 Oct 2014 21:44:43 +0100 Subject: [PATCH] Update BlogEntry.php missing $ --- code/BlogEntry.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/BlogEntry.php b/code/BlogEntry.php index bc5deb1..cb301ab 100644 --- a/code/BlogEntry.php +++ b/code/BlogEntry.php @@ -51,7 +51,7 @@ class BlogEntry extends Page { $requestedDevBuild = (stripos($this->request->getURL(), 'dev/build') === 0); if(!$requestedDevBuild){ - this->setField('Date', date('Y-m-d H:i:s', strtotime('now'))); + $this->setField('Date', date('Y-m-d H:i:s', strtotime('now'))); $this->setField('Author', Member::currentUser() ? Member::currentUser()->getName() : ''); } }