From 9bedeed772b44b2f23b4378b540066b948e68a28 Mon Sep 17 00:00:00 2001 From: Andrew O'Neil Date: Sun, 12 Aug 2007 21:51:51 +0000 Subject: [PATCH] Fix title being included in $MetaTags when it shouldn't be git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@39877 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- core/model/SiteTree.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/model/SiteTree.php b/core/model/SiteTree.php index 364ca8089..59d7a771a 100644 --- a/core/model/SiteTree.php +++ b/core/model/SiteTree.php @@ -365,7 +365,7 @@ class SiteTree extends DataObject { */ public function MetaTags($includeTitle = true) { $tags = ""; - if($includeTitle == true || $includeTitle == 'true') { + if($includeTitle === true || $includeTitle == 'true') { $tags .= "" . Convert::raw2xml($this->MetaTitle ? $this->MetaTitle : $this->Title) . "\n"; } $tags .= "\n";