fix for previous commit
This commit is contained in:
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 ) {
|
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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user