]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Better fix for bug 381837: Clicking a bug in the dependency graph will open the searc...
authorlpsolit%gmail.com <>
Tue, 29 May 2007 20:14:33 +0000 (20:14 +0000)
committerlpsolit%gmail.com <>
Tue, 29 May 2007 20:14:33 +0000 (20:14 +0000)
showdependencygraph.cgi

index b12e65c853d0514ee686e97328943b9f0e665f84..9851a218ce0bc48e5c7a3f723240b6b456ecbf94 100755 (executable)
@@ -65,7 +65,7 @@ sub CreateImagemap {
             $default = qq{<area alt="" shape="default" href="$1">\n};
         }
 
-        if ($line =~ /^rectangle \((.*),(.*)\) \((.*),(.*)\) (http[^ ]*) (\d+)$/) {
+        if ($line =~ /^rectangle \((.*),(.*)\) \((.*),(.*)\) (http[^ ]*) (\d+)(\\n.*)?$/) {
             my ($leftx, $rightx, $topy, $bottomy, $url, $bugid) = ($1, $3, $2, $4, $5, $6);
 
             # Pick up bugid from the mapdata label field. Getting the title from