소스 검색

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

Faustin 2 년 전
부모
커밋
8742e457aa
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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');
 	}
 }