mirror of
https://github.com/silverstripe/silverstripe-fulltextsearch
synced 2024-10-22 14:05:29 +02:00
Update code for PSR-2 compliance
This commit is contained in:
parent
f703559d65
commit
ef7ff75035
@ -65,7 +65,7 @@ class SearchForm extends Form
|
|||||||
$searchTerms = $request->requestVar('Search');
|
$searchTerms = $request->requestVar('Search');
|
||||||
$query = SearchQuery::create()->addSearchTerm($searchTerms);
|
$query = SearchQuery::create()->addSearchTerm($searchTerms);
|
||||||
|
|
||||||
if($start = $request->requestVar('start')){
|
if ($start = $request->requestVar('start')) {
|
||||||
$query->setStart($start);
|
$query->setStart($start);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user