From d5683eda560468c1a3f31982b4183daa586ea7f8 Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Thu, 11 Feb 2010 04:38:24 +0000 Subject: [PATCH] BUGFIX Fixed quoting on ContentController::successfullyinstaller() - this broke certain databases like PostgreSQL git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@98777 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- core/control/ContentController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/control/ContentController.php b/core/control/ContentController.php index 281fd043a..8fc3bfb30 100755 --- a/core/control/ContentController.php +++ b/core/control/ContentController.php @@ -452,7 +452,7 @@ HTML; */ function successfullyinstalled() { // The manifest should be built by now, so it's safe to publish the 404 page - $fourohfour = Versioned::get_one_by_stage('ErrorPage', 'Stage', 'ErrorCode = 404'); + $fourohfour = Versioned::get_one_by_stage('ErrorPage', 'Stage', '"ErrorCode" = 404'); if($fourohfour) { $fourohfour->Status = "Published"; $fourohfour->write();