CC-2326 Edit a show (End Date problems)

This commit is contained in:
Naomi 2011-05-26 17:00:21 -04:00
parent 81ee30105d
commit 03fae770e5
1 changed files with 0 additions and 2 deletions

View File

@ -629,13 +629,11 @@ class Show {
$sql = "SELECT date '{$data['add_show_end_date']}' + INTERVAL '1 day' ";
$r = $con->query($sql);
$endDate = $r->fetchColumn(0);
//$endDate = $data['add_show_end_date'];
}
else {
$sql = "SELECT date '{$data['add_show_start_date']}' + INTERVAL '1 day' ";
$r = $con->query($sql);
$endDate = $r->fetchColumn(0);
//$endDate = $data['add_show_start_date'];
}
//only want the day of the week from the start date.