Skip to content

Commit 10f6ef8

Browse files
authored
Merge pull request #11 from bimberlabinternal/fb_merge_discvr-20.11
Merge discvr-20.11 to discvr-21.3
2 parents cd61f37 + 2c60bfe commit 10f6ef8

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)