mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-19 00:28:47 +02:00
Regresssion: properly compute & record the history of StopWatch's sub-items.
SVN:trunk[4285]
This commit is contained in:
@@ -304,8 +304,8 @@ abstract class CMDBObject extends DBObject
|
||||
//
|
||||
foreach ($oAttDef->ListSubItems() as $sSubItemAttCode => $oSubItemAttDef)
|
||||
{
|
||||
$item_value = $oSubItemAttDef->GetValue($this);
|
||||
$item_original = $oSubItemAttDef->GetValue($this, true);
|
||||
$item_value = $oAttDef->GetSubItemValue($oSubItemAttDef->Get('item_code'), $value, $this);
|
||||
$item_original = $oAttDef->GetSubItemValue($oSubItemAttDef->Get('item_code'), $original, $this);
|
||||
|
||||
if ($item_value != $item_original)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user