This commit is contained in:
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
{
return _Xp["SubSection", "Edit"];
// if null - return a "Y"
string tmp = _Xp["SubSection", "Edit"];
return tmp == null || tmp == "" ? "Y" : tmp;
}
set
{
@@ -647,7 +649,9 @@ namespace VEPROMS.CSLA.Library
{
get
{
return _Xp["SubSection", "PH"];
// if null - return a "Y"
string tmp = _Xp["SubSection", "PH"];
return tmp==null||tmp==""?"Y":tmp;
}
set
{
@@ -665,7 +669,9 @@ namespace VEPROMS.CSLA.Library
{
get
{
return _Xp["SubSection", "AutoIndent"];
// if null - return a "Y"
string tmp = _Xp["SubSection", "AutoIndent"];
return tmp==null||tmp==""?"Y":tmp;
}
set
{