This commit is contained in:
Kathy Ruffing 2008-11-19 14:02:37 +00:00
parent de89209354
commit cc28bbcefc

View File

@ -138,7 +138,8 @@ namespace VEPROMS
private void ppCmbxLibDocFill() private void ppCmbxLibDocFill()
{ {
_Initializing = true; _Initializing = true;
bool isLib = _SectionConfig.MySection.MyContent.MyEntry.MyDocument.LibTitle != ""; bool isLib = false;
if (_SectionConfig.MySection.MyContent.MyEntry.MyDocument!=null && (_SectionConfig.MySection.MyContent.MyEntry.MyDocument.LibTitle != null) && (_SectionConfig.MySection.MyContent.MyEntry.MyDocument.LibTitle != "")) isLib = true;
if (isLib) if (isLib)
{ {
ppBtnCvrtToLibDoc.Text = "Convert this Section To A Non-Library Document"; ppBtnCvrtToLibDoc.Text = "Convert this Section To A Non-Library Document";