Jelajahi Sumber

- Integrating...

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@336 a333f486-631f-4898-b8df-5754b55c2be0
dflaven 15 tahun lalu
induk
melakukan
f9fdcc5aec
1 mengubah file dengan 3 tambahan dan 3 penghapusan
  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);
 			$aResult[$iRow]["__STATUS__"] = new RowStatus_NewObj($this->m_sClass, $newID);
 			$aResult[$iRow]["finalclass"] = get_class($oTargetObj);
-			$aResult[$iRow]["id"] = CellStatus_Void($newID);
+			$aResult[$iRow]["id"] = new CellStatus_Void($newID);
 		}
 		else
 		{
 			$aResult[$iRow]["__STATUS__"] = new RowStatus_NewObj();
 			$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
 		//
 		$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)
 		{