From 5e81cc92b95609c6f97c5b5dc9c1ff0f64930e3f Mon Sep 17 00:00:00 2001 From: Arkadii Hlushchevskyi Date: Thu, 18 Apr 2024 02:29:03 +0300 Subject: [PATCH] Restored original conditions for form filters lookup. --- SPID/include/FormData.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SPID/include/FormData.h b/SPID/include/FormData.h index f379c1c..4be336c 100644 --- a/SPID/include/FormData.h +++ b/SPID/include/FormData.h @@ -353,7 +353,7 @@ namespace Forms } } - return (options & kRequireAll) == 0 || a_formVec.size() == a_rawFormVec.size(); + return ((options & kRequireAll) == 0 && !a_formVec.empty()) || a_formVec.size() == a_rawFormVec.size(); } }