IchHabRecht / content_defender

Define allowed or denied content element types in your backend layouts
GNU General Public License v2.0
80 stars 35 forks source link

[BUGFIX] Set explicit fetch mode for ResultStatement #128

Closed DavidR93 closed 1 year ago

DavidR93 commented 1 year ago

Proposed fix for the following issue: #127

IchHabRecht commented 1 year ago

Hi @DavidR93

Thank you for your pull request. Unfortunately your change would break compatibility to TYPO3 110.4 and is not necessary for PHP 8.1 support. As you can see only a deprecation notice for the fetch() method is thrown. I changed the pull request in that way. Please verify if this solves your problem.

DavidR93 commented 1 year ago

Hey @IchHabRecht

Yes, I can confirm that this fixes the problem.

Sorry, I didn't had backwards compatibility in mind.