Przeglądaj źródła

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

Faustin 2 lat temu
rodzic
commit
8742e457aa
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      htdocs/ftp/index.php

+ 1 - 1
htdocs/ftp/index.php

@@ -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');
 	}
 }