B2017-145 Printing an empty procedure was causing PROMs to crash
This commit is contained in:
parent
1995e44cc7
commit
03ed697128
@ -6329,9 +6329,12 @@ namespace VEPROMS.CSLA.Library
|
|||||||
}
|
}
|
||||||
private bool GetProcHasSupInfoData()
|
private bool GetProcHasSupInfoData()
|
||||||
{
|
{
|
||||||
foreach (SectionInfo mySection in Sections)
|
if (Sections != null) // If no sections don't check
|
||||||
{
|
{
|
||||||
if (mySection.MyDocStyle.SupplementalInformation && mySection.HasSupInfoSteps) return true;
|
foreach (SectionInfo mySection in Sections)
|
||||||
|
{
|
||||||
|
if (mySection.MyDocStyle.SupplementalInformation && mySection.HasSupInfoSteps) return true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user