fix for previous commit

master
Marek Isalski 5 years ago
parent cf2bdabbea
commit 76e54b427e

@ -678,7 +678,7 @@ function fulcrm_shoppingcart_buy_eventbookingtype_form( $form, &$form_state, $pe
if ( count( $form[ 'ticket_for_persons' ][ '#options' ] ) == 1 ) {
foreach ( $form[ 'ticket_for_persons' ][ '#options' ] as $k => $v )
$form[ 'ticket_for_persons' ][ '#default_value' ] = $k;
$form[ 'ticket_for_persons' ][ '#default_value' ] = array( $k => $k );
}
$form[ 'eventslots' ] = array();

Loading…
Cancel
Save