Skip to content
This repository has been archived by the owner on Feb 26, 2025. It is now read-only.

Commit

Permalink
Fix licensing calendar
Browse files Browse the repository at this point in the history
 - Use subscriptionEndDate
  • Loading branch information
veggiematts committed Jan 30, 2020
1 parent 5063b62 commit d5bdc5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion licensing/calendar.php
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@
$alt = "";
}
$date1 = new DateTime(date("m/d/y"));
$date2 = new DateTime($row["currentEndDate"]);
$date2 = new DateTime($row["subscriptionEndDate"]);
$interval = $date1->diff($date2);
$num_days = ((($interval->y) * 365) + (($interval->m) * 30) + ($interval->d));

Expand Down

0 comments on commit d5bdc5c

Please sign in to comment.