mirror of
https://github.com/roundcube/roundcubemail.git
synced 2026-03-06 16:16:48 +01:00
Fix PHP 8.1 warnings
This commit is contained in:
@@ -172,8 +172,8 @@ class rcube_smtp
|
||||
return false;
|
||||
}
|
||||
|
||||
$smtp_user = str_replace('%u', $rcube->get_user_name(), $CONFIG['smtp_user']);
|
||||
$smtp_pass = str_replace('%p', $rcube->get_user_password(), $CONFIG['smtp_pass']);
|
||||
$smtp_user = str_replace('%u', (string) $rcube->get_user_name(), $CONFIG['smtp_user']);
|
||||
$smtp_pass = str_replace('%p', (string) $rcube->get_user_password(), $CONFIG['smtp_pass']);
|
||||
$smtp_auth_type = $CONFIG['smtp_auth_type'] ?: null;
|
||||
$smtp_authz = null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user