mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
fix PHP 8.0 TypeError: Unsupported operand types: string & int
This commit is contained in:
parent
dd73884534
commit
ce76fa5d7f
@ -281,7 +281,7 @@ class Account implements \ArrayAccess
|
||||
public static function ssl2secure($ssl)
|
||||
{
|
||||
$secure = false;
|
||||
switch($ssl & ~self::SSL_VERIFY)
|
||||
switch((int)$ssl & ~self::SSL_VERIFY)
|
||||
{
|
||||
case self::SSL_STARTTLS:
|
||||
$secure = 'tls'; // Horde uses 'tls' for STARTTLS, not ssl connection with tls version >= 1 and no sslv2/3
|
||||
|
Loading…
Reference in New Issue
Block a user