diff --git a/src/Element/CustomElement.php b/src/Element/CustomElement.php index aab0430..a01c815 100644 --- a/src/Element/CustomElement.php +++ b/src/Element/CustomElement.php @@ -91,6 +91,7 @@ public function rsceGetBackendOutput() if ( $entry['file'] === System::getContainer()->getParameter('kernel.project_dir') . '/system/modules/newsletter/classes/Newsletter.php' || $entry['file'] === System::getContainer()->getParameter('kernel.project_dir') . '/vendor/contao/newsletter-bundle/src/Resources/contao/classes/Newsletter.php' + || $entry['file'] === System::getContainer()->getParameter('kernel.project_dir') . '/vendor/contao/newsletter-bundle/contao/classes/Newsletter.php' || $method === 'Contao\\Newsletter::send' || $method === 'tl_newsletter::listNewsletters' ) {