BUGFIX: Fixed response text bug in subsite creation. (from r94563)

This commit is contained in:
Tom Rix 2010-03-01 21:41:11 +00:00
parent 4d90cfeeb3
commit 6d7cf28c11

View File

@ -75,7 +75,7 @@ class SubsiteAdmin_CollectionController extends ModelAdmin_CollectionController
if(Director::is_ajax()) {
$recordController = new ModelAdmin_RecordController($this, $request, $subsite->ID);
return new SS_HTTPResponse(
return new HTTPResponse(
$recordController->EditForm()->forAjaxTemplate(),
200,
sprintf(