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