diff options
-rw-r--r-- | lib/private/db.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/db.php b/lib/private/db.php index a35a4f53e80..e911abd5f8b 100644 --- a/lib/private/db.php +++ b/lib/private/db.php @@ -77,7 +77,7 @@ class OC_DB { if (strpos($host, ':')) { // Host variable may carry a port or socket. list($host, $socket) = explode(':', $host, 2); - if (ctype_digit($socket) && $socket <= 65535) { + if (ctype_digit($socket)) { $connectionParams['port'] = $socket; } else { $connectionParams['unix_socket'] = $socket; |