CC-4079: Apache error: missing $startDt variable
- fixed
This commit is contained in:
parent
31f1d5879e
commit
63856ea918
1 changed files with 1 additions and 0 deletions
|
@ -1351,6 +1351,7 @@ class Application_Model_Show {
|
||||||
}
|
}
|
||||||
|
|
||||||
private static function advanceRepeatingDate($p_interval, $start, $timezone){
|
private static function advanceRepeatingDate($p_interval, $start, $timezone){
|
||||||
|
$startDt = new DateTime($start, new DateTimeZone($timezone));
|
||||||
if ($p_interval == 'P1M'){
|
if ($p_interval == 'P1M'){
|
||||||
/* When adding months, there is a problem if we are on January 31st and add one month with PHP.
|
/* When adding months, there is a problem if we are on January 31st and add one month with PHP.
|
||||||
* What ends up happening is that since February 31st doesn't exist, the date returned is
|
* What ends up happening is that since February 31st doesn't exist, the date returned is
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue