a.binder 8 лет назад
Родитель
Сommit
b6ac917866
1 измененных файлов с 5 добавлено и 5 удалено
  1. 5 5
      SE/se-lib/Route/WfsBiAudit.php

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

@@ -91,8 +91,8 @@ public function objectStructView($item) {
 
 	}
 	
-	private function AddChildComment($node, $name, $value = null) {
-		$child = $this->dom->createComment($name, $value);
+	private function AddChildComment($value = null) { //$node, $name, 
+		$child = $this->dom->createComment($value);
 		$node->appendChild($child);
 		return $child;
 	}
@@ -317,17 +317,17 @@ public function objectStructView($item) {
 										}
 									}
 								} else {
-									$this->AddChildComment($dataNode, $fieldName, " TODO 'jest tak/{$p5LinkKey}': " . str_replace('&', '&', var_export($p5LinkValue, true)) . " ");
+									$this->AddChildComment(" TODO 'jest tak/{$p5LinkKey}': " . str_replace('&', '&', var_export($p5LinkValue, true)) . " ");
 								}
 							}
 						} else {
-							$this->AddChildComment($dataNode, $fieldName, " TODO add info ref ({$refKey}): " . str_replace('&', '&', var_export($refValue, true)) . " ");
+							$this->AddChildComment(" TODO add info ref ({$refKey}): " . str_replace('&', '&', var_export($refValue, true)) . " ");
 						}
 					}
 				} else if (NULL === $value) {
 					$this->addChild($dataNode, "{$nsPrefix}:{$fieldName}"); // xs:nil ?
 				} else {
-					$this->AddChildComment($dataNode, $fieldName, " TODO: " . var_export($value, true) . " ");
+					$this->AddChildComment(" TODO: " . var_export($value, true) . " ");
 				}
 			}
 		} catch (Exception $e) {