diff --git a/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php b/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php index 4fe9d1e204..ec43e50427 100644 --- a/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php +++ b/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php @@ -363,7 +363,7 @@ public function useMoreText() { public function acceptAttachments() { // To be able to accept attachments this display have to be able to use // attachments but at the same time, you cannot attach a display to itself. - if (!$this->usesAttachments() || ($this->definition['id'] == $this->view->current_display)) { + if (!$this->usesAttachments() || ($this->display['id'] == $this->view->current_display)) { return FALSE; }