Mariusz Muszyński 8 년 전
부모
커밋
cc21e570dc
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      SE/se-lib/Route/UrlAction/BiAuditGenerate.php

+ 1 - 1
SE/se-lib/Route/UrlAction/BiAuditGenerate.php

@@ -2419,7 +2419,7 @@ class BiAuditPowiazania {
 
 	private static function weightCalc($n) {
 		static $weights = [];
-		if (isset($weights[$n])) {
+		if (!isset($weights[$n])) {
 			$weight = floor(log(($n - 1) / 10) / log(2)) + 1;
 			if ($weight < 1) $weight = 1;
 			$weights[$n] = $weight;