]> 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:49:58 +0000 (00:49 +0000)
committerlpsolit%gmail.com <>
Wed, 8 Oct 2008 00:49:58 +0000 (00:49 +0000)
showdependencygraph.cgi

index 327f73c9d34fa3e1db30754f3a8b9a66ee95a83b..6f2a95503d11a81e52b4039086eddd67a7621fb7 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";