From b79460e7a049efff1beb1685e81a3f3365d35f03 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Mon, 3 Jun 2013 23:17:01 +0000 Subject: [PATCH] Check for value before trying to use it --- etemplate/inc/class.etemplate_widget_nextmatch.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etemplate/inc/class.etemplate_widget_nextmatch.inc.php b/etemplate/inc/class.etemplate_widget_nextmatch.inc.php index 9eeb780159..cf65ce7400 100644 --- a/etemplate/inc/class.etemplate_widget_nextmatch.inc.php +++ b/etemplate/inc/class.etemplate_widget_nextmatch.inc.php @@ -191,7 +191,7 @@ class etemplate_widget_nextmatch extends etemplate_widget } foreach($value as $name => $_value) { - if(strpos($name, 'options-') !== false) + if(strpos($name, 'options-') !== false && $_value) { $select = substr($name, 8); if(!self::$request->sel_options[$select])