fix for previous commit

This commit is contained in:
Marek Isalski 2019-03-07 11:26:57 +01:00
parent cf2bdabbea
commit 76e54b427e

View File

@ -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();