From f94c4cd96a8e719f1072bdcd115176812eda9762 Mon Sep 17 00:00:00 2001 From: denise Date: Wed, 3 Oct 2012 11:13:41 -0400 Subject: [PATCH] CC-4515: Calendar: Errors for editing recording show -fixed --- airtime_mvc/application/models/Show.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/airtime_mvc/application/models/Show.php b/airtime_mvc/application/models/Show.php index d9467cfc1..ccbcc59d9 100644 --- a/airtime_mvc/application/models/Show.php +++ b/airtime_mvc/application/models/Show.php @@ -1203,15 +1203,16 @@ SQL; //$con = Propel::getConnection(CcShowPeer::DATABASE_NAME); //$sql = "SELECT date '{$data['add_show_rebroadcast_date_absolute_'.$i]}' - date '{$data['add_show_start_date']}' "; $sql = << - $date["add_show_rebroadcast_date_absolute_$i"], + $data["add_show_rebroadcast_date_absolute_$i"], 'start' => - $date['add_show_start_date']), "column" ); + $data['add_show_start_date']), "column" ); //$r = $con->query($sql); //$offset_days = $r->fetchColumn(0);