mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-09 01:12:33 +01:00
scrutinizer on ftp/index.php : type result compared with 'false'
This commit is contained in:
@@ -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');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user