a.binder hace 8 años
padre
commit
23bfb7bc73
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      SE/se-lib/Route/WfsBiAudit.php

+ 2 - 2
SE/se-lib/Route/WfsBiAudit.php

@@ -102,7 +102,7 @@ public function objectStructView($item) {
 		return $this->relations[$ID];
         }
         
-    private function findRelations_base($node, $ID, $resolveDepth, $relation = null, $BaseStruct,$table) {
+    private function findRelations_base($node, $ID, $resolveDepth, $relation = null, $BaseStruct=null,$table=null) {
 	    if (in_array($ID, $this->path)) return;
 		$this->path[] = $ID;
 		
@@ -238,7 +238,7 @@ public function objectStructView($item) {
 				if (!($ID = DB::getPDO()->fetchValue($query))) {
 					self::throwServiceException("Błąd danych z BaseStruct ");
 				}
-					$this->findRelations_base($gml, $ID, $resolveDepth,$this->BaseStruct,$table);
+					$this->findRelations_base($gml, $ID, $resolveDepth,$table,$this->BaseStruct,$table);
 			
 						foreach ($this->tablesUsed as $table) $this->addAttribute($wfs, "xmlns:default_db__x3A__{$table}", "https://biuro.biall-net.pl/wfs/default_db/{$table}");
 						$attrs = [