Another evaluate() call site that needed global_vars

This commit is contained in:
Kovid Goyal 2020-12-24 16:52:36 +05:30
parent 27f11a66ea
commit 16b46e5acd
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -157,7 +157,7 @@ class Formatter(TemplateFormatter):
return self.composite_values[key]
self.composite_values[key] = 'RECURSIVE_COMPOSITE FIELD (S2D) ' + key
self.composite_values[key] = \
self.evaluate(b['display']['composite_template'], [], kwargs)
self.evaluate(b['display']['composite_template'], [], kwargs, {})
return self.composite_values[key]
if key in kwargs:
val = kwargs[key]