Skip to content

Commit

Permalink
Improve newsletter detection
Browse files Browse the repository at this point in the history
  • Loading branch information
ausi committed Mar 16, 2023
1 parent 12082f0 commit 4b029c2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Element/CustomElement.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'
) {
Expand Down

0 comments on commit 4b029c2

Please sign in to comment.