Merge branch '2.5.x' into 2.5.x-saas

This commit is contained in:
Albert Santoni 2014-01-27 12:01:11 -05:00
commit ed78625fce
5 changed files with 100 additions and 89 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("%i");
/* Check if show is overlapping
* We will only do this check if the show is valid
* upto this point