change logic for early access code

This commit is contained in:
Nathan Coad
2018-01-13 13:31:32 +11:00
parent 4bc7c8745c
commit 6a7260eec8

View File

@@ -117,7 +117,7 @@ function booking_form($node, &$form_state, $inserting = FALSE, $early_access_all
// ------- form starts here --------- // ------- form starts here ---------
//add new feature for early registration access //add new feature for early registration access
if ($inserting == TRUE && $early_access_allowed) { if ($inserting == TRUE && $earlyaccess_check) {
$form['early-access'] = array( $form['early-access'] = array(
'#type' => 'fieldset', '#type' => 'fieldset',
'#title' => 'Early Registration Code' '#title' => 'Early Registration Code'