summaryrefslogtreecommitdiffstats
path: root/core/modules/node/lib/Drupal/node/Plugin/Search/NodeSearch.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/node/lib/Drupal/node/Plugin/Search/NodeSearch.php')
-rw-r--r--core/modules/node/lib/Drupal/node/Plugin/Search/NodeSearch.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/node/lib/Drupal/node/Plugin/Search/NodeSearch.php b/core/modules/node/lib/Drupal/node/Plugin/Search/NodeSearch.php
index bf987e6..517c751 100644
--- a/core/modules/node/lib/Drupal/node/Plugin/Search/NodeSearch.php
+++ b/core/modules/node/lib/Drupal/node/Plugin/Search/NodeSearch.php
@@ -111,7 +111,7 @@ class NodeSearch extends SearchPluginBase implements AccessibleInterface, Search
$container->get('module_handler'),
$container->get('config.factory')->get('search.settings'),
$container->get('keyvalue')->get('state'),
- $container->get('request')->attributes->get('_account')
+ $container->get('current_user')
);
}