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:
parent
2c64e5128c
commit
11284d0d41
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue