scrutinizer on ftp/index.php : type result compared with 'false'
This commit is contained in:
parent
e4faf16c56
commit
8742e457aa
1 changed files with 1 additions and 1 deletions
|
|
@ -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');
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue