mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-01 06:28:46 +02:00
Custom fields: alpha version.
SVN:trunk[3943]
This commit is contained in:
@@ -302,14 +302,10 @@ abstract class CMDBObject extends DBObject
|
||||
{
|
||||
// Stop watches - record changes for sub items only (they are visible, the rest is not visible)
|
||||
//
|
||||
if (is_null($original))
|
||||
{
|
||||
$original = new OrmStopWatch();
|
||||
}
|
||||
foreach ($oAttDef->ListSubItems() as $sSubItemAttCode => $oSubItemAttDef)
|
||||
{
|
||||
$item_value = $oSubItemAttDef->GetValue($value);
|
||||
$item_original = $oSubItemAttDef->GetValue($original);
|
||||
$item_value = $oSubItemAttDef->GetValue($this);
|
||||
$item_original = $oSubItemAttDef->GetValue($this, true);
|
||||
|
||||
if ($item_value != $item_original)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user