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
This commit is contained in:
Sean Harvey 2010-02-11 04:38:24 +00:00 committed by Sam Minnee
parent 79010479da
commit d5683eda56

View File

@ -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();