MINOR Fixed PHP notice in ModelAdmin

This commit is contained in:
Ingo Schommer 2012-03-08 15:18:11 +01:00
parent 5e92c69c0a
commit 9517763ec6

View File

@ -651,11 +651,7 @@ class ModelAdmin_CollectionController extends Controller {
function search($request, $form) {
// Get the results form to be rendered
$resultsForm = $this->ResultsForm(array_merge($form->getData(), $request));
return new SS_HTTPResponse(
$resultsForm->forTemplate(),
200,
$msg
);
return $resultsForm->forTemplate();
}
/**