Procházet zdrojové kódy

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 před 13 roky
rodič
revize
505989de4c
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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);
 		}