B2012-315 – fixed problem approving a new procedure
added a null reference check
This commit is contained in:
@@ -658,7 +658,7 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
get
|
||||
{
|
||||
if (this.RevisionVersions.Count == 0) return null;
|
||||
if (this.RevisionVersions == null || this.RevisionVersions.Count == 0) return null;
|
||||
VersionInfo latest = this.RevisionVersions[0];
|
||||
foreach (VersionInfo vi in this.RevisionVersions)
|
||||
{
|
||||
|
Reference in New Issue
Block a user