]> git.donarmstrong.com Git - debbugs.git/commitdiff
data can be a HASHREF not a SCALAR in check_limit
authorDon Armstrong <don@donarmstrong.com>
Sat, 14 Jul 2012 18:31:33 +0000 (11:31 -0700)
committerDon Armstrong <don@donarmstrong.com>
Sat, 14 Jul 2012 18:31:33 +0000 (11:31 -0700)
Debbugs/Control.pm

index c681916ab98f515fe784c08e51a88b65c8d75a4c..592c31572f9c0906e3fbf7789e7bd9057890a4f9 100644 (file)
@@ -3707,7 +3707,7 @@ limit to succeed.
 
 sub check_limit{
     my %param = validate_with(params => \@_,
-                             spec   => {data  => {type => ARRAYREF|SCALAR,
+                             spec   => {data  => {type => ARRAYREF|HASHREF,
                                                  },
                                         limit => {type => HASHREF|UNDEF,
                                                  },