Mariusz Muszyński před 7 roky
rodič
revize
8be58cabb1
1 změnil soubory, kde provedl 3 přidání a 3 odebrání
  1. 3 3
      SE/se-lib/Route/UrlAction/BiAuditGenerate.php

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

@@ -3064,7 +3064,7 @@ class BiAuditPowiazania {
 		['BI_audit_POWIAZANIA_OD', 'BI_audit_CEIDG'],
 		['BI_audit_POWIAZANIA_OD', 'BI_audit_CEIDG_pelnomocnicy'],
 	];
-	private $destTables = ['BI_audit_ENERGA_RUM_KONTRAHENCI', 'BI_audit_KW_requested_person'
+	private $destTables = ['BI_audit_ENERGA_RUM_KONTRAHENCI', 'BI_audit_KW_requested_person',
 		['BI_audit_POWIAZANIA_DO', 'BI_audit_KRS'],
 		['BI_audit_POWIAZANIA_DO', 'BI_audit_KRS_person'],
 		['BI_audit_POWIAZANIA_DO', 'BI_audit_MSIG'],
@@ -3318,12 +3318,12 @@ class BiAuditPowiazania {
 		if (!$relation) $relation = 0;
 
 		if (in_array($ID, $this->endNodes)) {
-			if ($weight) > $this->minDepth) $this->addResult($progress);
+			if (($weight) > $this->minDepth) $this->addResult($progress);
 			array_pop($this->path);
 			return;
 		}
 
-		if ($weight) > $this->maxDepth) {
+		if (($weight) > $this->maxDepth) {
 			if (!$this->onlyTargets) $this->addResult($progress);
 			array_pop($this->path);
 			return;