From 174bcf56d3c15b27c938d4aab5f059fd061143d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eric=20Espi=C3=A9?= Date: Wed, 10 Jan 2018 07:58:51 +0000 Subject: [PATCH] cleanup code SVN:trunk[5221] --- pages/audit.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pages/audit.php b/pages/audit.php index 1ac3cd6f7..b15da1aaf 100644 --- a/pages/audit.php +++ b/pages/audit.php @@ -24,6 +24,8 @@ */ /** * Adds the context parameters to the audit query + * @param DBSearch $oFilter + * @param ApplicationContext $oAppContext */ function FilterByContext(DBSearch &$oFilter, ApplicationContext $oAppContext) { @@ -41,6 +43,7 @@ function FilterByContext(DBSearch &$oFilter, ApplicationContext $oAppContext) if ( ($sAttCode != null) && MetaModel::IsValidAttCode($sObjClass, $sAttCode)) { // Check if the condition points to a hierarchical key + $bConditionAdded = false; if ($sAttCode == 'id') { // Filtering on the objects themselves