You've already forked postfixadmin
mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2025-08-07 17:42:53 +03:00
Avoid deprecation in PHP 8.1
This commit is contained in:
@@ -470,7 +470,7 @@ class AliasHandler extends PFAHandler
|
|||||||
*/
|
*/
|
||||||
protected function getVacationAlias()
|
protected function getVacationAlias()
|
||||||
{
|
{
|
||||||
$vacation_goto = str_replace('@', '#', $this->id);
|
$vacation_goto = str_replace('@', '#', $this->id ?? '');
|
||||||
return $vacation_goto . '@' . Config::read_string('vacation_domain');
|
return $vacation_goto . '@' . Config::read_string('vacation_domain');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user