diff --git a/htdocs/ftp/index.php b/htdocs/ftp/index.php index d74e5a8b46b..5ff4356820c 100644 --- a/htdocs/ftp/index.php +++ b/htdocs/ftp/index.php @@ -212,7 +212,7 @@ if ($_REQUEST['action'] == 'confirm_deletesection' && $_REQUEST['confirm'] == 'y $remotefile=$section.(preg_match('@[\\\/]$@',$section)?'':'/').$file; $newremotefileiso=utf8_decode($remotefile); - $result=ftp_rmdir($conn_id, $newremotefileiso); + $result=@ftp_rmdir($conn_id, $newremotefileiso); if ($result) { $mesg = '