From: lpsolit%gmail.com <> Date: Tue, 29 May 2007 20:16:05 +0000 (+0000) Subject: Better fix for bug 381837: Clicking a bug in the dependency graph will open the searc... X-Git-Tag: bugzilla-3.0.1~71 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b94c783328ddb3173adbd6e6738e43c4f493a506;p=thirdparty%2Fbugzilla.git Better fix for bug 381837: Clicking a bug in the dependency graph will open the search page instead of the bug - Patch by Frédéric Buclin r=justdave a=LpSolit --- diff --git a/showdependencygraph.cgi b/showdependencygraph.cgi index ae9c2df3ba..806d80ab5b 100755 --- a/showdependencygraph.cgi +++ b/showdependencygraph.cgi @@ -65,7 +65,7 @@ sub CreateImagemap { $default = qq{\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