]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 458854: The URL to the dependency graph is wrong when using an external webdot...
authorlpsolit%gmail.com <>
Wed, 8 Oct 2008 00:52:53 +0000 (00:52 +0000)
committerlpsolit%gmail.com <>
Wed, 8 Oct 2008 00:52:53 +0000 (00:52 +0000)
showdependencygraph.cgi

index f7977446ef6214afcea5be674659b6bf10e7bc10..f9eb4ed88884a9f10132d636b24159a19eaadf5f 100755 (executable)
@@ -247,7 +247,7 @@ my $webdotbase = Bugzilla->params->{'webdotbase'};
 if ($webdotbase =~ /^https?:/) {
      # Remote dot server. We don't hardcode 'urlbase' here in case
      # 'sslbase' is in use.
-     $webdotbase =~ s/%([a-z]*)%/Bugzilla->params->{$1}/g;
+     $webdotbase =~ s/%([a-z]*)%/Bugzilla->params->{$1}/eg;
      my $url = $webdotbase . $filename;
      $vars->{'image_url'} = $url . ".gif";
      $vars->{'map_url'} = $url . ".map";