From 63856ea91888ca183c7c8e250891abfd65f53ad8 Mon Sep 17 00:00:00 2001 From: James Date: Fri, 6 Jul 2012 15:40:16 -0400 Subject: [PATCH] CC-4079: Apache error: missing $startDt variable - fixed --- airtime_mvc/application/models/Show.php | 1 + 1 file changed, 1 insertion(+) diff --git a/airtime_mvc/application/models/Show.php b/airtime_mvc/application/models/Show.php index 270d065ad..e7cf6967b 100644 --- a/airtime_mvc/application/models/Show.php +++ b/airtime_mvc/application/models/Show.php @@ -1351,6 +1351,7 @@ class Application_Model_Show { } private static function advanceRepeatingDate($p_interval, $start, $timezone){ + $startDt = new DateTime($start, new DateTimeZone($timezone)); if ($p_interval == 'P1M'){ /* 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