CC-5660: Unable to create shows with a rebroadcast

Two variables that are needed for the rebroadcast validation were deleted
before the 2.5.1 release. Just had to add them back in.
This commit is contained in:
drigato 2014-01-06 13:51:06 -05:00
parent 2c64e5128c
commit 11284d0d41
1 changed files with 7 additions and 0 deletions

View File

@ -162,6 +162,13 @@ class Application_Form_AddShowWhen extends Zend_Form_SubForm
}
/* We need to know the show duration broken down into hours and minutes
* They are used for checking overlapping shows and for validating
* rebroadcast instances
*/
$hours = $duration->format("%h");
$minutes = $duration->format("%m");
/* Check if show is overlapping
* We will only do this check if the show is valid
* upto this point