From a3e7ea3aa2f9d15fff1426fedb14f5c9698f38ba Mon Sep 17 00:00:00 2001 From: Franky Van Liedekerke Date: Tue, 17 Sep 2024 17:23:55 +0200 Subject: [PATCH] undo part of the change --- eme-rsvp.php | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/eme-rsvp.php b/eme-rsvp.php index 43e18af..93ac1a4 100644 --- a/eme-rsvp.php +++ b/eme-rsvp.php @@ -5289,7 +5289,7 @@ function eme_registration_seats_form_table( $pending = 0, $trash = 0 ) { $extrafieldnames_arr[] = eme_trans_esc_html( $formfield['field_name'] ); $extrafieldsearchable_arr[] = $formfield['searchable']; } - // add the formfields of events and people last + // add the formfields of events last // first a separator (will be used in the js) $formfields = eme_get_formfields( '', 'events' ); if (!empty($formfields)) { @@ -5302,17 +5302,6 @@ function eme_registration_seats_form_table( $pending = 0, $trash = 0 ) { $extrafieldsearchable_arr[] = $formfield['searchable']; } } - $formfields = eme_get_formfields( '', 'people' ); - if (!empty($formfields)) { - $extrafields_arr[] = 'SEPARATOR'; - $extrafieldnames_arr[] = ''.__('People fields','events-made-easy').''; - $extrafieldsearchable_arr[] = 0; - foreach ( $formfields as $formfield ) { - $extrafields_arr[] = $formfield['field_id']; - $extrafieldnames_arr[] = eme_trans_esc_html( $formfield['field_name'] ); - $extrafieldsearchable_arr[] = $formfield['searchable']; - } - } // these 2 values are used as data-fields to the container-div, and are used by the js to create extra columns $extrafields = join( ',', $extrafields_arr ); $extrafieldnames = join( ',', $extrafieldnames_arr );