diff --git a/src/lib/domain/SecurityCriteriaClause.cpp b/src/lib/domain/SecurityCriteriaClause.cpp index 0816bd1d6..6abd2c8ff 100644 --- a/src/lib/domain/SecurityCriteriaClause.cpp +++ b/src/lib/domain/SecurityCriteriaClause.cpp @@ -157,7 +157,7 @@ std::string SecurityCriteriaClause::to_expression_str() const { and_parts.push_back( FMT("(group == {})", FMT_JOIN(groups, " || group == "))); } - if (!groups.empty()) { + if (!currencies.empty()) { and_parts.push_back( FMT("(currency == {})", FMT_JOIN(currencies, " || currency == "))); }