Skip to content
Snippets Groups Projects
Commit 07dd9b59 authored by Demian Katz's avatar Demian Katz Committed by Robert Lange
Browse files

Allow null configuration.

parent 418f6048
No related merge requests found
...@@ -947,7 +947,7 @@ abstract class Options implements TranslatorAwareInterface ...@@ -947,7 +947,7 @@ abstract class Options implements TranslatorAwareInterface
* *
* @return void * @return void
*/ */
protected function configureAutocomplete(Config $searchSettings) protected function configureAutocomplete(Config $searchSettings = null)
{ {
// Only change settings from current values if they are defined in .ini: // Only change settings from current values if they are defined in .ini:
$this->autocompleteEnabled = $searchSettings->Autocomplete->enabled $this->autocompleteEnabled = $searchSettings->Autocomplete->enabled
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment