Skip to content

Commit

Permalink
Quickfix for null ShortTitle (relate to #32)
Browse files Browse the repository at this point in the history
  • Loading branch information
roman-yagodin committed Jan 26, 2016
1 parent aefd8ee commit b5c7232
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R7.University/Models/DivisionInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ public string FileName
{
// replace all non-word character with spaces,
// trim resulting string and then replace all spaces with single underscore
get { return Regex.Replace (Regex.Replace (ShortTitle, @"\W", " ").Trim (), @"\s+", "_"); }
get { return Regex.Replace (Regex.Replace (DisplayShortTitle, @"\W", " ").Trim (), @"\s+", "_"); }
}

[IgnoreColumn]
Expand Down

0 comments on commit b5c7232

Please sign in to comment.