Permalink
Browse files

MINOR Fixed PHP notice in ModelAdmin

  • Loading branch information...
1 parent 5e92c69 commit 9517763ec6c83122f0c43367a12ad82023c2a4dc @chillu chillu committed Mar 8, 2012
Showing with 1 addition and 5 deletions.
  1. +1 −5 admin/code/ModelAdmin.php
@@ -651,11 +651,7 @@ public function ColumnSelectionField() {
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();
}
/**

0 comments on commit 9517763

Please sign in to comment.