Skip to content

Commit

Permalink
Merge pull request #17834 from wangkx/h30360
Browse files Browse the repository at this point in the history
HPCC-30360 Allow empty kind attribute when listing Groups

Reviewed-by: Jake Smith <[email protected]>
Reviewed-by: Gavin Halliday <[email protected]>
Merged-by: Gavin Halliday <[email protected]>
  • Loading branch information
ghalliday authored Sep 28, 2023
2 parents 1252258 + dfc67b6 commit df067b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esp/smc/SMCLib/TpWrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1217,7 +1217,7 @@ void CTpWrapper::getGroupList(double espVersion, const char* kindReq, IArrayOf<I
{
IPropertyTree &group = groups->query();
const char* kind = group.queryProp("@kind");
if (kindReq && *kindReq && !strieq(kindReq, kind))
if (!isEmptyString(kindReq) && !strisame(kindReq, kind))
continue;

IEspTpGroup* pGroup = createTpGroup("","");
Expand Down

0 comments on commit df067b5

Please sign in to comment.