diff --git a/functions/events.php b/functions/events.php index 74e737ca..37955847 100644 --- a/functions/events.php +++ b/functions/events.php @@ -227,13 +227,15 @@ function sunflower_int_date2german_date( $int_date ) { function sunflower_event_meta_box() { global $post; - $sunflower_event_fields = sunflower_get_event_fields(); + $sunflower_event_fields = sunflower_get_event_fields(); + $sunflower_form_disabled = ''; $custom = get_post_custom( $post->ID ); $uid = $custom['_sunflower_event_uid'][0] ?? false; if ( $uid ) { printf( '
%s
', esc_html__( 'This event will be imported by remote ical-calendar. All changes here will be overwritten.', 'sunflower' ) ); + $sunflower_form_disabled = 'disabled'; ?>