B2023-030 added a NULL reference check in logic for removing foldout PDF from cache.
This commit is contained in:
parent
b1a6f05bd2
commit
8ee523de20
@ -119,6 +119,7 @@ namespace VEPROMS.CSLA.Library
|
||||
// Added this method that can be called to clear the PDF print cache for a specified section.
|
||||
public static void RemovePDFFromCache(ItemInfo sect)
|
||||
{
|
||||
if (sect.MyContent.MyEntry == null) return; // B2023-030 not a word section so just jump out
|
||||
DocStyle myDocStyle = sect.ActiveSection.MyDocStyle;
|
||||
SectionConfig sc = sect.ActiveSection.MyConfig as SectionConfig;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user