From aef4654a3fdfb04dcdeca587d6feb1fb817abe3c Mon Sep 17 00:00:00 2001 From: naomiaro Date: Sat, 5 Feb 2011 23:42:57 -0500 Subject: [PATCH] CC-1770 clear the days chosen if the show doesn't repeat. --- application/models/Shows.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/application/models/Shows.php b/application/models/Shows.php index 0b2dbe03c..0bd66e28a 100644 --- a/application/models/Shows.php +++ b/application/models/Shows.php @@ -49,7 +49,8 @@ class Show { $endDate = $r->fetchColumn(0); } - if(!isset($data['add_show_day_check'])) { + //only want the day of the week from the start date. + if(!$data['add_show_repeats']) { $data['add_show_day_check'] = array($startDow); }