瀏覽代碼

- Integrating...

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@336 a333f486-631f-4898-b8df-5754b55c2be0
dflaven 15 年之前
父節點
當前提交
f9fdcc5aec
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      core/bulkchange.class.inc.php

+ 3 - 3
core/bulkchange.class.inc.php

@@ -428,13 +428,13 @@ class BulkChange
 			$newID = $oTargetObj->DBInsertTrackedNoReload($oChange);
 			$newID = $oTargetObj->DBInsertTrackedNoReload($oChange);
 			$aResult[$iRow]["__STATUS__"] = new RowStatus_NewObj($this->m_sClass, $newID);
 			$aResult[$iRow]["__STATUS__"] = new RowStatus_NewObj($this->m_sClass, $newID);
 			$aResult[$iRow]["finalclass"] = get_class($oTargetObj);
 			$aResult[$iRow]["finalclass"] = get_class($oTargetObj);
-			$aResult[$iRow]["id"] = CellStatus_Void($newID);
+			$aResult[$iRow]["id"] = new CellStatus_Void($newID);
 		}
 		}
 		else
 		else
 		{
 		{
 			$aResult[$iRow]["__STATUS__"] = new RowStatus_NewObj();
 			$aResult[$iRow]["__STATUS__"] = new RowStatus_NewObj();
 			$aResult[$iRow]["finalclass"] = get_class($oTargetObj);
 			$aResult[$iRow]["finalclass"] = get_class($oTargetObj);
-			$aResult[$iRow]["id"] = CellStatus_Void(0);
+			$aResult[$iRow]["id"] = new CellStatus_Void(0);
 		}
 		}
 	}
 	}
 	
 	
@@ -445,7 +445,7 @@ class BulkChange
 		// Reporting
 		// Reporting
 		//
 		//
 		$aResult[$iRow]["finalclass"] = get_class($oTargetObj);
 		$aResult[$iRow]["finalclass"] = get_class($oTargetObj);
-		$aResult[$iRow]["id"] = CellStatus_Void($aRowData[$iCol]);
+		$aResult[$iRow]["id"] = new CellStatus_Void($oTargetObj->GetKey());
 
 
 		if (count($aErrors) > 0)
 		if (count($aErrors) > 0)
 		{
 		{