Follow up changes relating to adding in new show repeat options

This commit is contained in:
Jamie Connor 2013-09-07 14:54:03 +12:00
parent 6da9b6bf42
commit f7f2cdc51c
3 changed files with 9 additions and 5 deletions

View file

@ -188,6 +188,10 @@ class Application_Form_AddShowWhen extends Zend_Form_SubForm
$interval = 'P7D';
} elseif ($formData["add_show_repeat_type"] == 1) {
$interval = 'P14D';
} elseif ($formData["add_show_repeat_type"] == 4) {
$interval = 'P21D';
} elseif ($formData["add_show_repeat_type"] == 5) {
$interval = 'P28D';
} elseif ($formData["add_show_repeat_type"] == 2) {
$interval = 'P1M';
}