From 5ab247a87c76cbe786c65b1cdc72dc83d252c81c Mon Sep 17 00:00:00 2001 From: wangkx Date: Wed, 27 Sep 2023 10:39:05 -0400 Subject: [PATCH] HPCC-30360 Allow empty kind attribute when listing Groups Signed-off-by: wangkx --- esp/smc/SMCLib/TpWrapper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esp/smc/SMCLib/TpWrapper.cpp b/esp/smc/SMCLib/TpWrapper.cpp index e51c5401c2f..7e420fc03bd 100644 --- a/esp/smc/SMCLib/TpWrapper.cpp +++ b/esp/smc/SMCLib/TpWrapper.cpp @@ -1217,7 +1217,7 @@ void CTpWrapper::getGroupList(double espVersion, const char* kindReq, IArrayOfquery(); const char* kind = group.queryProp("@kind"); - if (kindReq && *kindReq && !strieq(kindReq, kind)) + if (!isEmptyString(kindReq) && !strisame(kindReq, kind)) continue; IEspTpGroup* pGroup = createTpGroup("","");