diff --git a/web/wp-content/mu-plugins/custom/lfevents/admin/partials/sync-sched.php b/web/wp-content/mu-plugins/custom/lfevents/admin/partials/sync-sched.php index 944621bd..dfee37ae 100644 --- a/web/wp-content/mu-plugins/custom/lfevents/admin/partials/sync-sched.php +++ b/web/wp-content/mu-plugins/custom/lfevents/admin/partials/sync-sched.php @@ -82,10 +82,9 @@ $speaker_query->the_post(); $speaker_id = get_the_ID(); update_post_meta( $speaker_id, $sched_event_id, json_encode( $speaker ) ); - update_option( 'lfevents_sync_sched_last_run', current_time( 'timestamp' ) ); } wp_reset_postdata(); // Restore original Post Data. } } - +update_option( 'lfevents_sync_sched_last_run', current_time( 'timestamp' ) ); wp_reset_postdata(); // Restore original Post Data.