diff --git a/product.py b/product.py index 2c617de34f..a718ea049e 100644 --- a/product.py +++ b/product.py @@ -289,8 +289,6 @@ class TemplateFunction(fields.Function): tables['template'] = { None: (template, product.template == template.id), } - else: - template = tables['template'] return getattr(Template, name).convert_order( name, tables['template'], Template) return order