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 years ago
parent
commit
505989de4c
1 changed files with 1 additions and 1 deletions
  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);
 		}