Browse Source

Bug fix: subsequent audit results were wrong when a 'negative' rule was used.

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@1560 a333f486-631f-4898-b8df-5754b55c2be0
dflaven 13 năm trước cách đây
mục cha
commit
505989de4c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      pages/audit.php

+ 1 - 1
pages/audit.php

@@ -124,7 +124,7 @@ try
 			{
 				$aValidIds[] = $oObj->GetKey(); 
 			}
-			$oFilter = $oDefinitionFilter;
+			$oFilter = clone $oDefinitionFilter;
 			$oFilter->AddCondition('id', $aValidIds, 'NOTIN');
 			$oErrorObjectSet = new CMDBObjectSet($oFilter);
 		}