scrutinizer on ftp/index.php : type result compared with 'false'
This commit is contained in:
parent
e4faf16c56
commit
8742e457aa
@ -709,7 +709,7 @@ print '<br>';
|
|||||||
if (!empty($conn_id)) {
|
if (!empty($conn_id)) {
|
||||||
$disconnect = dol_ftp_close($conn_id);
|
$disconnect = dol_ftp_close($conn_id);
|
||||||
|
|
||||||
if ($disconnect == false) {
|
if (!$disconnect) {
|
||||||
setEventMessages($langs->trans("ErrorFTPNodisconnect"), null, 'errors');
|
setEventMessages($langs->trans("ErrorFTPNodisconnect"), null, 'errors');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user