From 9746702d783fa979113f90bb19a8cdc3b09613c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Doursenaud?= Date: Thu, 7 Nov 2013 21:24:52 +0100 Subject: [PATCH] FTP connections are resources Avoid declaring it as int --- htdocs/ftp/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/ftp/index.php b/htdocs/ftp/index.php index 9c4f2cfffef..d7017e9ca00 100644 --- a/htdocs/ftp/index.php +++ b/htdocs/ftp/index.php @@ -71,7 +71,7 @@ $ftp_user=$conf->global->$s_ftp_user; $ftp_password=$conf->global->$s_ftp_password; $ftp_passive=$conf->global->$s_ftp_passive; -$conn_id=0; // FTP connection ID +$conn_id=null; // FTP connection ID