fixed bugs introduced by merging branches/gsoc

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41907 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2007-09-15 02:05:23 +00:00
parent d292e5ccf0
commit 5e0a5283b2
2 changed files with 1 additions and 3 deletions

View File

@ -645,8 +645,6 @@ class SiteTree extends DataObject {
public function MetaTags($includeTitle = true) {
$tags = "";
if($includeTitle === true || $includeTitle == 'true') {
$tags .= "<title>" . Convert::raw2xml($this->MetaTitle ? $this->MetaTitle : $this->Title) . "</title>\n";
if($includeTitle == true) {
$tags .= "<title>" . Convert::raw2xml(($this->MetaTitle)
? $this->MetaTitle
: $this->Title) . "</title>\n";

View File

@ -179,7 +179,7 @@ class Security extends Controller {
$controller = new Page_Controller($tmpPage);
$controller->init();
Controller::$currentController = $controller;
//Controller::$currentController = $controller;
if(SSViewer::hasTemplate("Security_login")) {
return $controller->renderWith(array("Security_login", "Page"));