mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR Fixed PHP notice in ModelAdmin
This commit is contained in:
parent
5e92c69c0a
commit
9517763ec6
@ -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();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user