From 57bb45991135c7d802bcf4036f5cc70080c59dcd Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Wed, 7 Jun 2017 09:28:10 -0400 Subject: Bug 1368764 - Component watching relationship constant not exported in template constants --- extensions/Voting/Extension.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extensions/Voting') diff --git a/extensions/Voting/Extension.pm b/extensions/Voting/Extension.pm index 25266778c..90d4db1d3 100644 --- a/extensions/Voting/Extension.pm +++ b/extensions/Voting/Extension.pm @@ -215,7 +215,7 @@ sub bug_end_of_update { sub template_before_create { my ($self, $args) = @_; my $config = $args->{config}; - my $constants = $config->{CONSTANTS}; + my $constants = $config->{VARIABLES}{constants}; $constants->{REL_VOTER} = REL_VOTER; $constants->{CMT_POPULAR_VOTES} = CMT_POPULAR_VOTES; $constants->{DEFAULT_VOTES_PER_BUG} = DEFAULT_VOTES_PER_BUG; -- cgit v1.2.3-24-g4f1b