diff options
Diffstat (limited to 'extensions/Voting/Extension.pm')
-rw-r--r-- | extensions/Voting/Extension.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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; |