CC-1770 clear the days chosen if the show doesn't repeat.
This commit is contained in:
parent
0d300122b8
commit
aef4654a3f
|
@ -49,7 +49,8 @@ class Show {
|
||||||
$endDate = $r->fetchColumn(0);
|
$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);
|
$data['add_show_day_check'] = array($startDow);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue