From: Don Armstrong Date: Mon, 10 Aug 2009 20:45:04 +0000 (-0700) Subject: * allow version_url to accept arrayref as well as scalar X-Git-Tag: release/2.6.0~455^2~1 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=8e2acb41bf8ef68f94fb95878f201296465c82b4;p=debbugs.git * allow version_url to accept arrayref as well as scalar --- diff --git a/Debbugs/CGI.pm b/Debbugs/CGI.pm index 9d96ed9e..53f0b5d2 100644 --- a/Debbugs/CGI.pm +++ b/Debbugs/CGI.pm @@ -196,7 +196,7 @@ width and height are passed. sub version_url{ my %params = validate_with(params => \@_, - spec => {package => {type => SCALAR, + spec => {package => {type => SCALAR|ARRAYREF, }, found => {type => ARRAYREF, default => [],