From fcfa0f81d50be9a419cfa58036245b7b2f4609c9 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sun, 30 Apr 2006 07:10:42 +0000 Subject: [PATCH] giving the template name in the content precedence over the one supplied in the template --- 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 bec3a50bca..3dc405a346 100644 --- a/etemplate/inc/class.nextmatch_widget.inc.php +++ b/etemplate/inc/class.nextmatch_widget.inc.php @@ -238,7 +238,7 @@ array_unshift($value['rows'],false); } list($template,$options) = explode(',',$cell['size']); - if ($template) // template name can be supplied either in $value['template'] or the options-field + if (!$value['template'] && $template) // template name can be supplied either in $value['template'] or the options-field { $value['template'] = $template; }