From 7ea76869f4a8362c5602113ccd182688fbc1edbe Mon Sep 17 00:00:00 2001 From: Denis Flaven Date: Thu, 27 Oct 2011 16:43:23 +0000 Subject: [PATCH] Bug fix: subsequent audit results were wrong when a 'negative' rule was used. Same fix as change [1560] in trunk SVN:1.1[1649] --- pages/audit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/audit.php b/pages/audit.php index c71f2943c..0badaad67 100644 --- a/pages/audit.php +++ b/pages/audit.php @@ -85,7 +85,7 @@ try { $aValidIds[] = $oObj->GetKey(); } - $oFilter = $oDefinitionFilter; + $oFilter = clone $oDefinitionFilter; $oFilter->AddCondition('id', $aValidIds, 'NOTIN'); $oErrorObjectSet = new CMDBObjectSet($oFilter); }