Przeglądaj źródła

- 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.

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@202 a333f486-631f-4898-b8df-5754b55c2be0
dflaven 15 lat temu
rodzic
commit
d96e2f523f
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      application/cmdbabstract.class.inc.php

+ 1 - 0
application/cmdbabstract.class.inc.php

@@ -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);