Skip to content

Commit 3587c50

Browse files
authored
Merge pull request #73 from LabKey/fb_merge_discvr-21.3
Merge discvr-21.3 to develop
2 parents 21846f1 + 6e09228 commit 3587c50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

laboratory/api-src/org/labkey/api/laboratory/QueryImportNavItem.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public QueryImportNavItem(DataProvider provider, String schema, String query, La
4848
public QueryImportNavItem(DataProvider provider, String schema, String query, String label, LaboratoryService.NavItemCategory itemType, String reportCategory, QueryCache cache)
4949
{
5050
this(provider, null, schema, query, itemType, label, reportCategory);
51-
_queryCache = cache;
51+
_queryCache = cache == null ? new QueryCache() : cache;
5252
}
5353

5454
public QueryImportNavItem(DataProvider provider, Container targetContainer, String schema, String query, LaboratoryService.NavItemCategory itemType, String label, String reportCategory)

0 commit comments

Comments
 (0)