mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°1418 audit : fix regression, error with union queries in AuditRule
SVN:trunk[5777]
This commit is contained in:
@@ -25,13 +25,14 @@
|
||||
/**
|
||||
* Adds the context parameters to the audit rule query
|
||||
*
|
||||
* @param DBObjectSearch $oFilter
|
||||
* @param DBSearch $oFilter
|
||||
* @param ApplicationContext $oAppContext
|
||||
*
|
||||
* @throws \CoreException
|
||||
* @throws \CoreWarning
|
||||
* @throws \Exception
|
||||
*/
|
||||
function FilterByContext(DBObjectSearch &$oFilter, ApplicationContext $oAppContext)
|
||||
function FilterByContext(DBSearch &$oFilter, ApplicationContext $oAppContext)
|
||||
{
|
||||
$sObjClass = $oFilter->GetClass();
|
||||
$aContextParams = $oAppContext->GetNames();
|
||||
|
||||
Reference in New Issue
Block a user