1
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2025-07-29 22:41:11 +03:00

Avoid deprecation in PHP 8.1

This commit is contained in:
Adrien Crivelli
2022-07-15 11:44:58 +02:00
parent a97771adfd
commit 80e500591f

View File

@ -470,7 +470,7 @@ class AliasHandler extends PFAHandler
*/
protected function getVacationAlias()
{
$vacation_goto = str_replace('@', '#', $this->id);
$vacation_goto = str_replace('@', '#', $this->id ?? '');
return $vacation_goto . '@' . Config::read_string('vacation_domain');
}