a.binder 8 роки тому
батько
коміт
b4a50b7eb4
1 змінених файлів з 3 додано та 3 видалено
  1. 3 3
      SE/se-lib/Route/WfsBiAudit.php

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

@@ -95,7 +95,7 @@ public function objectStructView($item) {
 		$query = "select `REMOTE_TABLE`, `REMOTE_ID` from `BI_audit_ALL` where `ID` = {$ID}";
 		if (!($row = DB::getPDO()->fetchFirst($query)))
 		{
-			objectStructureAction('default_db/BI_audit_CEIDG_pelnomocnicy/BI_audit_CEIDG_pelnomocnicy');
+			$this->objectStructureAction('default_db/BI_audit_CEIDG_pelnomocnicy/BI_audit_CEIDG_pelnomocnicy');
 			// self::throwServiceException("Błąd danych");
 		}
 		if (!in_array($row['REMOTE_TABLE'], $this->tablesUsed)) $this->tablesUsed[] = $row['REMOTE_TABLE'];
@@ -144,7 +144,7 @@ public function objectStructView($item) {
 			$query = "select `ID` from `BI_audit_ALL` where `REMOTE_TABLE` = " . DB::getPDO()->quote($table) . " and `REMOTE_ID` = {$primaryKey}";
 			if (!($ID = DB::getPDO()->fetchValue($query))) 
 				
-				objectStructureAction('default_db/BI_audit_CEIDG_pelnomocnicy/BI_audit_CEIDG_pelnomocnicy');
+				$this->objectStructureAction('default_db/BI_audit_CEIDG_pelnomocnicy/BI_audit_CEIDG_pelnomocnicy');
 
 				//self::throwServiceException("Błąd danych");
 				
@@ -160,7 +160,7 @@ public function objectStructView($item) {
 			$xml = $this->dom->saveXML();
 			self::output($xml);
 		} catch (Exception $e) {
-			objectStructureAction('default_db/BI_audit_CEIDG_pelnomocnicy/BI_audit_CEIDG_pelnomocnicy');
+			$this->objectStructureAction('default_db/BI_audit_CEIDG_pelnomocnicy/BI_audit_CEIDG_pelnomocnicy');
 
 			//self::throwServiceException($e->getMessage());
 		}