From: lpsolit%gmail.com <> Date: Tue, 29 May 2007 20:14:33 +0000 (+0000) Subject: Better fix for bug 381837: Clicking a bug in the dependency graph will open the searc... X-Git-Tag: bugzilla-3.1.2~197 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=94fc541fdd0cc0061484f0a5a6d9bdec060cd9ad;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 b12e65c853..9851a218ce 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