From 143ea66a46072bea813b9d1e89bbe2a5e7b63749 Mon Sep 17 00:00:00 2001 From: savvasha Date: Fri, 1 May 2020 16:21:22 +0300 Subject: [PATCH] Fix Undefined index: show_excluded Based on https://github.com/ThemeBoy/SportsPress/commit/9f2888fd45516ce50496e85bf47fd1c9d89f63e1 --- includes/widgets/class-sp-widget-countdown.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/widgets/class-sp-widget-countdown.php b/includes/widgets/class-sp-widget-countdown.php index 5d02650d..873da460 100644 --- a/includes/widgets/class-sp-widget-countdown.php +++ b/includes/widgets/class-sp-widget-countdown.php @@ -55,7 +55,7 @@ class SP_Widget_Countdown extends WP_Widget { } function form( $instance ) { - $instance = wp_parse_args( (array) $instance, array( 'title' => '', 'calendar' => '', 'team' => '', 'id' => '', 'caption' => '', 'show_venue' => false, 'show_league' => false, 'show_date' => false ) ); + $instance = wp_parse_args( (array) $instance, array( 'title' => '', 'calendar' => '', 'team' => '', 'id' => '', 'caption' => '', 'show_venue' => false, 'show_league' => false, 'show_date' => false, 'show_excluded' => false ) ); $title = strip_tags($instance['title']); $caption = strip_tags($instance['caption']); $calendar = intval($instance['calendar']);