This commit is contained in:
Kathy Ruffing 2011-11-21 16:43:36 +00:00
parent 4ec326169f
commit e024297db6
2 changed files with 10 additions and 4 deletions

View File

@ -629,7 +629,9 @@ namespace VEPROMS.CSLA.Library
{ {
get get
{ {
return _Xp["SubSection", "Edit"]; // if null - return a "Y"
string tmp = _Xp["SubSection", "Edit"];
return tmp == null || tmp == "" ? "Y" : tmp;
} }
set set
{ {
@ -647,7 +649,9 @@ namespace VEPROMS.CSLA.Library
{ {
get get
{ {
return _Xp["SubSection", "PH"]; // if null - return a "Y"
string tmp = _Xp["SubSection", "PH"];
return tmp==null||tmp==""?"Y":tmp;
} }
set set
{ {
@ -665,7 +669,9 @@ namespace VEPROMS.CSLA.Library
{ {
get get
{ {
return _Xp["SubSection", "AutoIndent"]; // if null - return a "Y"
string tmp = _Xp["SubSection", "AutoIndent"];
return tmp==null||tmp==""?"Y":tmp;
} }
set set
{ {

View File

@ -116,7 +116,7 @@ namespace VEPROMS.CSLA.Library
{ {
string s = _Xp["Step", "CheckOffIndex"]; string s = _Xp["Step", "CheckOffIndex"];
if (s == string.Empty) return -1; if (s == string.Empty) return 0;
return int.Parse(s); return int.Parse(s);
} }