pimlie / authres_status

Roundcube plugin that checks the Authentication-Results headers (rfc5451) of your emails and displays the verification status.
Other
34 stars 20 forks source link

Fix some PHP 8 warnings (fixes #50) #51

Closed GermanCoding closed 2 years ago

GermanCoding commented 2 years ago

Accessing an array key that doesn't exist triggers a warning in PHP 8+. Ensure that a sensible default value is set in case the array key is undefined.

This should fix issue https://github.com/pimlie/authres_status/issues/50

smirkybg commented 2 years ago

Can we merge this?

pimlie commented 2 years ago

Yes, sorry for the late response. Thank you @GermanCoding for the pr and @smirkybg for the reminder :)