Skip to content

Commit

Permalink
Format conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
rlew421 committed Jul 17, 2023
1 parent ebc4d0b commit a6e0bae
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Library/SubscriptionRampInterval.cs
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,9 @@ internal override void ReadXml(XmlTextReader reader)
break;

case "ending_on":
if (!reader.ReadElementContentAsString().IsNullOrEmpty()) {
EndingOn = reader.ReadElementContentAsDateTime();
if (!reader.ReadElementContentAsString().IsNullOrEmpty())
{
EndingOn = reader.ReadElementContentAsDateTime();
}
break;

Expand Down

0 comments on commit a6e0bae

Please sign in to comment.