scrutinizer on ftp/index.php : type result compared with 'false'

This commit is contained in:
Faustin
2022-09-11 22:08:38 +02:00
parent e4faf16c56
commit 8742e457aa

View File

@@ -709,7 +709,7 @@ print '<br>';
if (!empty($conn_id)) {
$disconnect = dol_ftp_close($conn_id);
if ($disconnect == false) {
if (!$disconnect) {
setEventMessages($langs->trans("ErrorFTPNodisconnect"), null, 'errors');
}
}