From 2c8193ab0517eef421062a44fd49295477bd8659 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sat, 11 Jun 2005 20:15:02 +0000 Subject: [PATCH] do not disable data-line if rows-template has only one row --- etemplate/inc/class.nextmatch_widget.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etemplate/inc/class.nextmatch_widget.inc.php b/etemplate/inc/class.nextmatch_widget.inc.php index bee5d6fc78..4dcced606d 100644 --- a/etemplate/inc/class.nextmatch_widget.inc.php +++ b/etemplate/inc/class.nextmatch_widget.inc.php @@ -192,7 +192,7 @@ { $value['template'] =& new etemplate($value['template'],$tmpl->as_array()); } - if ($total < 1) + if ($total < 1 && $value['template']->rows > 1) { $value['template']->data[0]['h'.$value['template']->rows] .= ',1'; // disable the last data row }