You've already forked postfixadmin
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:
@ -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');
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user