diff --git a/inc/mep_functions.php b/inc/mep_functions.php index 722d45e..4c406df 100755 --- a/inc/mep_functions.php +++ b/inc/mep_functions.php @@ -1055,7 +1055,10 @@ if (!function_exists('mep_attendee_filter_query')) { add_action('manage_mep_events_posts_custom_column', 'mep_custom_event_column', 10, 2); if (!function_exists('mep_custom_event_column')) { function mep_custom_event_column($column, $post_id) { + + mep_update_event_upcoming_date($post_id); $post_id = mep_get_default_lang_event_id($post_id); + switch ($column) { case 'mep_status' : $values = get_post_custom($post_id); @@ -1075,8 +1078,7 @@ if (!function_exists('mep_custom_event_column')) { break; - case 'mep_event_date' : - mep_update_event_upcoming_date($post_id); + case 'mep_event_date' : echo "" . get_mep_datetime(get_post_meta($post_id, 'event_upcoming_datetime', true), 'date-time-text') . ""; break; }