evoWeb / recaptcha

TYPO3 Extension to make use of googles nocaptcha
GNU General Public License v2.0
6 stars 18 forks source link

Problem in PHP 8.1 #51

Closed wtfred closed 2 years ago

wtfred commented 2 years ago

Hello,

This line cause problem with 8.1:

PHP Warning: Undefined array key "robotMode"

https://github.com/evoWeb/recaptcha/blob/c03c95d4acef009e654c366b3f92f7fe2f18d124/Classes/Services/CaptchaService.php#L98

I had to make it return (bool)($this->configuration['robotMode'] ?? false);