From c03d5167f60666a559fc38c41d36b01b2fcc3d5e Mon Sep 17 00:00:00 2001 From: Pierre Goiffon Date: Wed, 9 May 2018 16:47:54 +0000 Subject: [PATCH] =?UTF-8?q?N=C2=B01418=20audit=20:=20fix=20regression,=20e?= =?UTF-8?q?rror=20with=20union=20queries=20in=20AuditRule?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit SVN:trunk[5777] --- pages/audit.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pages/audit.php b/pages/audit.php index cdb53ac49..4ef25cc23 100644 --- a/pages/audit.php +++ b/pages/audit.php @@ -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();