change logic for early access code
This commit is contained in:
@@ -117,7 +117,7 @@ function booking_form($node, &$form_state, $inserting = FALSE, $early_access_all
|
||||
// ------- form starts here ---------
|
||||
|
||||
//add new feature for early registration access
|
||||
if ($inserting == TRUE && $early_access_allowed) {
|
||||
if ($inserting == TRUE && $earlyaccess_check) {
|
||||
$form['early-access'] = array(
|
||||
'#type' => 'fieldset',
|
||||
'#title' => 'Early Registration Code'
|
||||
|
Reference in New Issue
Block a user