Merge branch 'MDL-61102-master' of https://github.com/sammarshallou/moodle
[moodle.git] / search / index.php
index 4b86096..638aff7 100644 (file)
@@ -54,7 +54,7 @@ if (\core_search\manager::is_global_search_enabled() === false) {
     exit;
 }
 
-$search = \core_search\manager::instance();
+$search = \core_search\manager::instance(true);
 
 // Set up custom data for form.
 $customdata = ['searchengine' => $search->get_engine()->get_plugin_name()];