From b8c3177eb8fd932696908c867d322e38e0cfa2bb Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Sat, 6 Mar 2010 10:20:36 +0000 Subject: [PATCH] Fix: hide errors --- 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 26b5f71716d..cdfbaa92185 100644 --- a/htdocs/ftp/index.php +++ b/htdocs/ftp/index.php @@ -173,7 +173,7 @@ if ($_REQUEST['action'] == 'confirm_deletefile' && $_REQUEST['confirm'] == 'yes' //print "x".$newremotefileiso; dol_syslog("ftp/index.php ftp_delete ".$newremotefileiso); - $result=ftp_delete($conn_id, $newremotefileiso); + $result=@ftp_delete($conn_id, $newremotefileiso); if ($result) { $mesg = '
'.$langs->trans("FileWasRemoved",$file).'
';