summaryrefslogtreecommitdiffstats
path: root/extensions/ComponentWatching
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2017-06-07 15:28:10 +0200
committerDylan William Hardison <dylan@hardison.net>2017-06-07 15:28:10 +0200
commit57bb45991135c7d802bcf4036f5cc70080c59dcd (patch)
treeade526085ccd5244546c6a50f4a20c9c581ad9b5 /extensions/ComponentWatching
parent8a4dbd5cca23762df61f767473aa92d87167895b (diff)
downloadbugzilla-57bb45991135c7d802bcf4036f5cc70080c59dcd.tar.gz
bugzilla-57bb45991135c7d802bcf4036f5cc70080c59dcd.tar.xz
Bug 1368764 - Component watching relationship constant not exported in template constants
Diffstat (limited to 'extensions/ComponentWatching')
-rw-r--r--extensions/ComponentWatching/Extension.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/ComponentWatching/Extension.pm b/extensions/ComponentWatching/Extension.pm
index 36dee0e1d..01d843c7a 100644
--- a/extensions/ComponentWatching/Extension.pm
+++ b/extensions/ComponentWatching/Extension.pm
@@ -127,7 +127,7 @@ sub install_update_db {
sub template_before_create {
my ($self, $args) = @_;
my $config = $args->{config};
- my $constants = $config->{CONSTANTS};
+ my $constants = $config->{VARIABLES}{constants};
$constants->{REL_COMPONENT_WATCHER} = REL_COMPONENT_WATCHER;
}