Fix: hide errors
This commit is contained in:
parent
36ab2be4da
commit
b8c3177eb8
@ -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>';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user