a.binder 8 سال پیش
والد
کامیت
a553ffc64e
1فایلهای تغییر یافته به همراه4 افزوده شده و 4 حذف شده
  1. 4 4
      SE/se-lib/Route/WfsBiAudit.php

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

@@ -91,7 +91,7 @@ public function objectStructView($item) {
 
 	}
 	
-	private function AddChildComment($value = null) { //$node, $name, 
+	private function AddChildComment($node,$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(" TODO 'jest tak/{$p5LinkKey}': " . str_replace('&', '&', var_export($p5LinkValue, true)) . " ");
+									$this->AddChildComment($dataNode, " TODO 'jest tak/{$p5LinkKey}': " . str_replace('&', '&', var_export($p5LinkValue, true)) . " ");
 								}
 							}
 						} else {
-							$this->AddChildComment(" TODO add info ref ({$refKey}): " . str_replace('&', '&', var_export($refValue, true)) . " ");
+							$this->AddChildComment($dataNode," 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(" TODO: " . var_export($value, true) . " ");
+					$this->AddChildComment($dataNode," TODO: " . var_export($value, true) . " ");
 				}
 			}
 		} catch (Exception $e) {