소스 검색

fixed bug in count selected kontrahenci

Piotr Labudda 7 년 전
부모
커밋
8dbd287f9f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      tools/Bocian.php.view.js

+ 1 - 1
tools/Bocian.php.view.js

@@ -1279,7 +1279,7 @@ function updateCountItemCheckedByType(typeNameLocalStorage) {
 		var countKontrahenci = getItemLocalStorage('Bocian.biAuditForm.kontrahenciIds');
 
 
-		if (countKontrahenci !== null || countKontrahenci !== undefined) {
+		if (countKontrahenci === null || countKontrahenci === undefined) {
 			return countId;
 		}