]> git.donarmstrong.com Git - debbugs.git/commitdiff
* allow version_url to accept arrayref as well as scalar
authorDon Armstrong <don@donarmstrong.com>
Mon, 10 Aug 2009 20:45:04 +0000 (13:45 -0700)
committerDon Armstrong <don@donarmstrong.com>
Mon, 10 Aug 2009 20:45:04 +0000 (13:45 -0700)
Debbugs/CGI.pm

index 9d96ed9e287f2608ea638d760ea4b54473b61430..53f0b5d27487de0018dacc1f7ec4aaa1015e2ec3 100644 (file)
@@ -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 => [],