Port can not be string.

This commit is contained in:
Michal Čihař
2010-04-20 08:19:55 +02:00
parent 980a3bb86c
commit 9bb35300eb

View File

@@ -68,7 +68,7 @@ function PMA_DBI_connect($user, $password, $is_controluser = false, $server = nu
{
if ($server) {
$server_port = (empty($server['port']))
? ''
? false
: (int)$server['port'];
$server_socket = (empty($server['socket']))
? ''