Dear AcyMailing Team,
while preparing the update from PHP 8.0 to PHP 8.1, I noticed two warnings about deprecated function calls in AcyMailing 5.11.8 that you may want to fix. Here are the warnings and the modifications I introduced to fix them:
Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /.../administrator/components/com_acymailing/helpers/acymailer.php on line 537
if(strpos($val ?? '', '?') === false || (strpos($tag, '{link') === false && strpos($tag, '{param') === false)) continue;
Deprecated: urldecode(): Passing null to parameter #1 ($string) of type string is deprecated in /.../components/com_acymailing/controllers/sub.php on line 377
$redirectUrl = urldecode(acymailing_getVar('string', 'redirectunsub') ?? '');
Regards
Hans