mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-01 15:28:02 +02:00
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:
parent
79010479da
commit
d5683eda56
@ -452,7 +452,7 @@ HTML;
|
|||||||
*/
|
*/
|
||||||
function successfullyinstalled() {
|
function successfullyinstalled() {
|
||||||
// The manifest should be built by now, so it's safe to publish the 404 page
|
// 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) {
|
if($fourohfour) {
|
||||||
$fourohfour->Status = "Published";
|
$fourohfour->Status = "Published";
|
||||||
$fourohfour->write();
|
$fourohfour->write();
|
||||||
|
Loading…
Reference in New Issue
Block a user