putting myself first for a change

master
Marek Isalski 9 years ago
parent 05375dde05
commit c4ee210639

@ -253,7 +253,7 @@ function fulcrm_shoppingcart_buy_eventbookingtype_form( $form, &$form_state, $pe
// $form[ 'person' ] = fulcrm_collection_to_form( 'person', $eventbookingtype[ 'person_ddatacollection' ], $person[ 'd' ] );
$persons = array();
$persons = array( 'myself' => 'myself' );
if ( array_key_exists( 'related_from_person2persons', $person ) ) {
foreach ( $person[ 'related_from_person2persons' ] as $p2p ) {
@ -268,8 +268,6 @@ function fulcrm_shoppingcart_buy_eventbookingtype_form( $form, &$form_state, $pe
}
}
$persons[ 'myself' ] = 'myself';
$form[ 'ticket_for_persons' ] = array( '#type' => 'checkboxes',
'#title' => 'Who is coming to the event?',
'#description' => 'Tick the box next to each person for whom you want to buy a ticket.',

Loading…
Cancel
Save