CC-3489: Live Stream: When Custom Auth check box is checked, Custom Username and Custom Password field must be required

- done
This commit is contained in:
James 2012-03-26 15:07:27 -04:00
parent 9073df17a1
commit e76f4baf18
4 changed files with 74 additions and 32 deletions

View file

@ -600,6 +600,7 @@ class ScheduleController extends Zend_Controller_Action
$what = $formWhat->isValid($data);
$when = $formWhen->isValid($data);
$live = $formLive->isValid($data);
if($when) {
$when = $formWhen->checkReliantFields($data, $startDateModified);
}
@ -691,7 +692,7 @@ class ScheduleController extends Zend_Controller_Action
$who = $formWho->isValid($data);
$style = $formStyle->isValid($data);
if ($what && $when && $repeats && $who && $style) {
if ($what && $when && $repeats && $who && $style && $live) {
if(!$isSaas){
if($record && $rebroadAb && $rebroad){
$userInfo = Zend_Auth::getInstance()->getStorage()->read();