This commit is contained in:
Kathy Ruffing 2010-11-08 14:31:39 +00:00
parent 5dc4b9f861
commit 9a87d41091

View File

@ -1766,7 +1766,7 @@ namespace VEPROMS.CSLA.Library
{ {
get get
{ {
if (_ActiveFormat == null) // jsj added check for NULL ActiveParent //if (_ActiveFormat == null) // jsj added check for NULL ActiveParent
_ActiveFormat = (LocalFormat != null ? LocalFormat : (ActiveParent != null)? ActiveParent.ActiveFormat : null); _ActiveFormat = (LocalFormat != null ? LocalFormat : (ActiveParent != null)? ActiveParent.ActiveFormat : null);
//Console.WriteLine("Active {0}", (_ActiveFormat == null) ? "_ActiveFormat is null" : _ActiveFormat.Name); //Console.WriteLine("Active {0}", (_ActiveFormat == null) ? "_ActiveFormat is null" : _ActiveFormat.Name);
return _ActiveFormat; return _ActiveFormat;