Merge branch 'master' of dev.sourcefabric.org:airtime

This commit is contained in:
Paul Baranowski 2011-04-14 18:55:15 -04:00
commit 03ab7edea0
11 changed files with 100 additions and 57 deletions

View file

@ -652,6 +652,11 @@ class ScheduleController extends Zend_Controller_Action
$this->view->newForm = $this->view->render('schedule/add-show-form.phtml');
}
else {
//the form still needs to be "update" since
//the validity test failed.
if ($data['add_show_id'] != -1){
$this->view->addNewShow = false;
}
$this->view->form = $this->view->render('schedule/add-show-form.phtml');
}