Added Fix for ACS-3960

This commit is contained in:
pjoshi31
2023-02-16 13:07:31 +05:30
parent e58be57254
commit c06dba2d93

View File

@@ -179,7 +179,7 @@ public class TagsImpl implements Tags
for (Pair<NodeRef, String> pair : page)
{
Tag selectedTag = new Tag(pair.getFirst(), pair.getSecond());
selectedTag.setCount(tagsByCountMap.get(selectedTag.getTag()) == null ? 0 : tagsByCountMap.get(selectedTag.getTag()));
selectedTag.setCount((tagsByCountMap.get(selectedTag.getTag()) == null ) ? 0 : tagsByCountMap.get(selectedTag.getTag()));
tags.add(selectedTag);
}