in2code-de / luxletter

Newsletter system for TYPO3
https://www.in2code.de/agentur/typo3-extensions/luxletter/
24 stars 25 forks source link

Exception in Luxletter Middleware #76

Closed lochmueller closed 3 years ago

lochmueller commented 3 years ago

The $this->luxIdentification($link); call should be in the if ($link !== null) { condition to avoid a exception if the link do not exists (because luxIdentification use a type hint): https://github.com/in2code-de/luxletter/blob/develop/Classes/Middleware/LuxletterLink.php#L49

I will create a pull request if there is enough time next week....

Regards, Tim

einpraegsam commented 3 years ago

Thx, I pushed a fix to develop branch. Ready for the upcoming release.