- fixed the display of the history log of the 'user' class (Trac #48), and more generally the history log of all classes not derived from logRealObject.

SVN:trunk[202]
This commit is contained in:
Denis Flaven
2009-12-21 19:53:13 +00:00
parent 97761de870
commit 8bb9176d36

View File

@@ -133,6 +133,7 @@ abstract class cmdbAbstractObject extends CMDBObject
// history block (with toggle)
$oHistoryFilter = new DBObjectSearch('CMDBChangeOpSetAttribute');
$oHistoryFilter->AddCondition('objkey', $this->GetKey());
$oHistoryFilter->AddCondition('objclass', get_class($this));
$oBlock = new HistoryBlock($oHistoryFilter, 'toggle', false);
$oBlock->Display($oPage, -1);