logic fix

This commit is contained in:
2017-06-29 11:40:48 +10:00
parent d1dc168197
commit b0cc61de6c
2 changed files with 14 additions and 15 deletions

View File

@@ -38,7 +38,7 @@ function booking_register_page()
);
//even if we are allowed to show the early access code, only show it if it is prior to the normal registration opening time
$return_array[] = array(
'form' => drupal_get_form('booking_form', true, ($booking_times->booking_register_open < time()))
'form' => drupal_get_form('booking_form', true, ($booking_times->booking_register_open > time()))
);
} elseif ($booking_times->booking_register_close < time()) {
//too late to register