From: Don Armstrong Date: Mon, 19 Feb 2007 08:04:48 +0000 (-0800) Subject: Add support for a height/width in the version_url function X-Git-Tag: release/2.6.0~585^2^2~17 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=89a8d08baf3d0f7693444d793e996087f0a36bb4;p=debbugs.git Add support for a height/width in the version_url function --- diff --git a/Debbugs/CGI.pm b/Debbugs/CGI.pm index e5f2375..ea4d67b 100644 --- a/Debbugs/CGI.pm +++ b/Debbugs/CGI.pm @@ -131,11 +131,13 @@ Creates a link to the version cgi script =cut sub version_url{ - my ($package,$found,$fixed) = @_; + my ($package,$found,$fixed,$width,$height) = @_; my $url = Debbugs::URI->new('version.cgi?'); $url->query_form(package => $package, found => $found, fixed => $fixed, + (defined $width)?(width => $width):(), + (defined $height)?(height => $height):() ); return $url->as_string; }