N°4284 - Object modification: Attribute value lost if not allowed to be seen

This commit is contained in:
acognet
2022-02-17 17:06:06 +01:00
parent 5048421bfa
commit 83e98ef2b8

View File

@@ -416,7 +416,7 @@ class DBUnionSearch extends DBSearch
$aSearches = array();
foreach ($this->aSearches as $oSearch)
{
if (!$oSearch->IsAllDataAllowed() && !$oSearch->IsDataFiltered()) {
if (!$oSearch->IsAllDataAllowed()) {
$aSearches[] = $oSearch->Filter($sClassAlias, $oFilter);
} else {
$aSearches[] = $oSearch;