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