diff options
-rw-r--r-- | Bugzilla/Config.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Bugzilla/Config.pm b/Bugzilla/Config.pm index 76f32d59c..629afb6d0 100644 --- a/Bugzilla/Config.pm +++ b/Bugzilla/Config.pm @@ -277,7 +277,9 @@ sub write_params { my ($fh, $tmpname) = File::Temp::tempfile('params.XXXXX', DIR => $datadir ); - print $fh (Data::Dumper->Dump([$param_data], ['*param'])) + my %params = %$param_data; + $params{urlbase} = Bugzilla->localconfig->{urlbase}; + print $fh (Data::Dumper->Dump([\%params], ['*param'])) || die "Can't write param file: $!"; close $fh; |