Skip to content
Snippets Groups Projects
Commit fe8e9d83 authored by Andrei Condurachi's avatar Andrei Condurachi Committed by Andrei Mateescu
Browse files

Issue #3335658 by andreic: Error: Call to a member function getPluginId() on...

Issue #3335658 by andreic: Error: Call to a member function getPluginId() on null in entityqueue_views_pre_render() (line 70 of modules/contrib/entityqueue/entityqueue.module)
parent 32219784
No related branches found
No related tags found
No related merge requests found
......@@ -67,7 +67,7 @@ function entityqueue_views_pre_render(ViewExecutable $view) {
// Add contextual link when view row plugin is entity_subqueue,
// and entity queue filter are provided.
if ($view->rowPlugin->getPluginId() == 'entity:entity_subqueue' && $view->rowPlugin->getEntityTypeId() == 'entity_subqueue') {
if ($view->rowPlugin && $view->rowPlugin->getPluginId() == 'entity:entity_subqueue' && $view->rowPlugin->getEntityTypeId() == 'entity_subqueue') {
$view_filters = $view->filter;
foreach ($view_filters as $filter) {
if ($filter->field == 'queue' && !empty($filter->value)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment