]> 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:16:05 +0000 (20:16 +0000)
committerlpsolit%gmail.com <>
Tue, 29 May 2007 20:16:05 +0000 (20:16 +0000)
showdependencygraph.cgi

index ae9c2df3bae649f2d419b7df9fc951ea1094a707..806d80ab5b9014cd5a0be9dbb2bdedc81e213326 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