Fix: hide errors

This commit is contained in:
Regis Houssin 2010-03-06 10:20:36 +00:00
parent 36ab2be4da
commit b8c3177eb8

View File

@ -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 = '<div class="ok">'.$langs->trans("FileWasRemoved",$file).'</div>';